From: <ev...@us...> - 2010-12-18 21:41:03
|
Revision: 1461 http://rails.svn.sourceforge.net/rails/?rev=1461&view=rev Author: evos Date: 2010-12-18 21:40:56 +0000 (Sat, 18 Dec 2010) Log Message: ----------- Outcommented some debug logging. Modified Paths: -------------- trunk/18xx/rails/ui/swing/hexmap/GUITile.java Modified: trunk/18xx/rails/ui/swing/hexmap/GUITile.java =================================================================== --- trunk/18xx/rails/ui/swing/hexmap/GUITile.java 2010-12-18 12:16:04 UTC (rev 1460) +++ trunk/18xx/rails/ui/swing/hexmap/GUITile.java 2010-12-18 21:40:56 UTC (rev 1461) @@ -139,8 +139,8 @@ // stations must keep doing so (except when // downgrading to plain track, as in 1856) if (tile.hasStations()) { - log.debug("[" + i + "," + j + "] Found " - + oldTrack.getEndPoint(prevTileSide)); + //log.debug("[" + i + "," + j + "] Found " + // + oldTrack.getEndPoint(prevTileSide)); oldCities.put(prevTileSide, oldTrack.getEndPoint(prevTileSide)); } else { @@ -157,7 +157,7 @@ || prevTile.getTracksPerSide(otherOldEndPoint).isEmpty()) { continue rot; } - log.debug("[" + i + "," + j + "] Downgraded"); + //log.debug("[" + i + "," + j + "] Downgraded"); } } } @@ -197,18 +197,18 @@ lll = (6 + l - prevTileRotation) % 6; if (oldCities.get(lll) == null) continue; // If new tile is missing a connection, skip - log.debug("Found " + oldCities.get(kkk) + " & " - + oldCities.get(lll)); - log.debug("Check " + newCities.get(kkk) + " & " - + newCities.get(ll)); + //log.debug("Found " + oldCities.get(kkk) + " & " + // + oldCities.get(lll)); + //log.debug("Check " + newCities.get(kkk) + " & " + // + newCities.get(ll)); if (newCities.get(kk) == null || newCities.get(ll) == null) continue rot; // If connected cities do not correspond, skip // (this is the "OO brown upgrade get-right" feature) // Only apply this check if the number of cities has not decreased if (getTile().getNumStations() < prevTile.getNumStations()) continue; - log.debug("Compare "+oldCities.get(kkk)+"/"+oldCities.get(lll) - +" ~ "+newCities.get(kk)+"/"+newCities.get(ll)); + //log.debug("Compare "+oldCities.get(kkk)+"/"+oldCities.get(lll) + // +" ~ "+newCities.get(kk)+"/"+newCities.get(ll)); if ((oldCities.get(kkk).equals(oldCities.get(lll))) != (newCities.get(kk).equals(newCities.get(ll)))) { log.debug("No match!"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |