chiark / gitweb /
remove some obsolete comments
authorIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 5 Sep 2010 12:56:08 +0000 (13:56 +0100)
committerIan Jackson <ian@liberator.relativity.greenend.org.uk>
Sun, 5 Sep 2010 12:56:08 +0000 (13:56 +0100)
src/com/tedpearson/ypp/market/MarketUploader.java

index e0b49735acd20c4cd518abd2149432bda2b93d8e..98ef25e955239db0c402a706ded93dcd6555332d 100644 (file)
@@ -242,7 +242,6 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
        *       Entry point.  Read our preferences.
        */
        public MarketUploader() {
-               // check if we've been turned off in the control panel
                Preferences prefs = Preferences.userNodeForPackage(getClass());
 
                if (prefs.getBoolean("writeDebugFiles", false)) {
@@ -310,7 +309,6 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
                                                                sidePanel.removePropertyChangeListener(changeListener);
                                                        }
                                                }
-                                               //findMarketTable();
                                                findMarket.setEnabled(true);
                                        }
                                }.start();
@@ -367,7 +365,6 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
                                }
                        }
                }
-               // if we don't find the island name, hopefully the server will
        }
 
        /**
@@ -568,7 +565,6 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
                    }
                    progresslog("pctb commodmap done.");
                    int[] offerCount = getBuySellMaps(data,buys,sells,stallMap,commodMap);
-                   //println(buys.toString());
                    // if (dtxt!=null) dtxt.println(sells);
                    // if (dtxt!=null) dtxt.println("\n\n\n"+buys);
 
@@ -579,7 +575,6 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
                        return;
                    }
                    GZIPOutputStream out = new GZIPOutputStream(outStream);
-                   //FileOutputStream out = new FileOutputStream(new File("output.text"));
                    DataOutputStream dos = new DataOutputStream(out);
                    dos.writeBytes("005y\n");
                    dos.writeBytes(stallMap.size()+"\n");
@@ -745,14 +740,6 @@ public class MarketUploader implements TopLevelWindowListener, GUIInitializedLis
                        int first = sb.indexOf("<pre>") + 5;
                        int last = sb.indexOf("</body>");
                        xml = sb.substring(first,last);
-                       //if (dtxt!=null) {
-                       //        dtxt.println(">>");
-                       //        dtxt.println(sb);;
-                       //        dtxt.println("||");
-                       //        dtxt.println(xml);
-                       //        dtxt.println("<<");
-                       //}
-                       // if (dtxt!=null) dtxt.println(xml);
                        Reader reader = new CharArrayReader(xml.toCharArray());
                        Document d = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(new InputSource(reader));
                        NodeList maps = d.getElementsByTagName("CommodMap");