From: Ian Jackson Date: Sun, 5 Sep 2010 12:56:08 +0000 (+0100) Subject: remove some obsolete comments X-Git-Tag: 0.9.9~9 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~yarrgweb/git?p=jarrg-ian.git;a=commitdiff_plain;h=813ffd281d1dff106d6c04ef48925a45d552f223 remove some obsolete comments --- diff --git a/src/com/tedpearson/ypp/market/MarketUploader.java b/src/com/tedpearson/ypp/market/MarketUploader.java index e0b4973..98ef25e 100644 --- a/src/com/tedpearson/ypp/market/MarketUploader.java +++ b/src/com/tedpearson/ypp/market/MarketUploader.java @@ -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("
") + 5;
 			int last = sb.indexOf("");
 			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");