Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/commandlineinterface/CLI.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/commandlineinterface/CLI.java	(revision 34525)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/commandlineinterface/CLI.java	(revision 34659)
@@ -131,17 +131,13 @@
             measuredTime = 0;
             jcf = 0;
-            //System.out.println("maxchannel: " + i);
             for (int j = 0; j < runs; j++) {
-                //System.out.println("run: " +j);
                 subset.clear();
                 do {
                     seed = cdgb.getDigraph()
                     .getChannelAtPosition(
-                            (int) ((cdgb.getDigraph().getChannels()
-                                    .size()) * Math.random()));
+                            (int) (cdgb.getDigraph().getChannels().size() * Math.random()));
                 }
                 while (!seed.isStrongConnected());
                 subset.add(seed);
-                //System.out.println("Seed: " + seed.getNewid());
                 vorChannel = seed;
                 for (int k = 0; k < i - 1; k++) {
@@ -151,5 +147,4 @@
                         if (!subset.contains(tempChannel)) {
                             subset.add(tempChannel);
-                            //System.out.println("zugefügt: " + tempChannel.getNewid());
                             seed = tempChannel;
                             isIn = true;
@@ -163,10 +158,9 @@
                 jc.junctionSearch(subset);
                 measuredTime += (System.currentTimeMillis() - start);
-                //System.out.println("jc beendet");
                 measuredIterateThroughTime += jc.getMeasuredIterateTime();
                 measuredGenerateSubColumnTime += jc.getMeasuredGenerateTime();
                 jcf = jcf + jc.getJunctions().size();
             }
-            System.out.println("Channels: " + (i) +
+            System.out.println("Channels: " + i +
                     " Time(Iterate): " + (measuredIterateThroughTime/runs) +
                     " Time(Generate): " + (measuredGenerateSubColumnTime/runs) +
Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/datastructure/OSMEntity.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/datastructure/OSMEntity.java	(revision 34525)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/datastructure/OSMEntity.java	(revision 34659)
@@ -171,5 +171,5 @@
 
     protected String valuestoString() {
-        return ("ID: " + (id) + "\n" + "User: " + user + "\n");
+        return ("ID: " + id + "\n" + "User: " + user + "\n");
     }
 }
Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JMinimality.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JMinimality.java	(revision 34525)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JMinimality.java	(revision 34659)
@@ -163,10 +163,11 @@
                 int missing = 0;
                 boolean smallerjunction = false;
-                for (int k = 0; k < ans; k++) { //Makes sure that subset of m columns contains an n*n subgrid, because ans = m over n would be 0 otherwise
+                //Makes sure that subset of m columns contains an n*n subgrid, because ans = m over n would be 0 otherwise
+                for (int k = 0; k < ans; k++) {
                     for (int y = 0; y < n; y++) { //Iterates over all rows of subgrid k
                         missing = 0;    //test = "";
                         for (int x = 0; x < c.data.length; x++) { //Iterates over all columns of subgrid k
                             x_i = ((Integer) L.get((int) (lindex-m+c.data[x])).get(0)); //columnindex in grid
-                            v = ((int[][]) (L.get((int) (lindex-m+c.data[x])).get(2))); //subcolumn of grid
+                            v = ((int[][]) L.get((int) (lindex-m+c.data[x])).get(2)); //subcolumn of grid
                             y_j = v[y][0]; //rowindex in grid
                             if (v[y][1] == 0) {
@@ -175,6 +176,6 @@
                                 CandidateK.add(new int[]{y_j, x_i});
                             } //save entry/exit tuple
-                            if (!smallerjunction && ((!OrEn.contains(E.get(v[y][0])))
-                                    && (!OrEx.contains(E.get(x_i))))) { // Tests, whether y or x is not an original entry/exit
+                            if (!smallerjunction && (!OrEn.contains(E.get(v[y][0]))
+                                    && !OrEx.contains(E.get(x_i)))) { // Tests, whether y or x is not an original entry/exit
                                 smallerjunction = true; //Then k identifies a different junction than the original one
                             }
Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JunctionChecker.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JunctionChecker.java	(revision 34525)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/junctionchecking/JunctionChecker.java	(revision 34659)
@@ -147,11 +147,8 @@
         for (int y = 0; y < E.size(); y++) {
             for (int x = 0; x < E.size(); x++) {
-                if (x != y && !(entries.contains(E.get(x)))
-                        && !(exits.contains(E.get(y)))
+                if (x != y && !entries.contains(E.get(x))
+                        && !exits.contains(E.get(y))
                         && E.get(y).getReachableNodes().contains(E.get(x))) {
                     Grid[y][x] = 1;
-                    //log.trace("Grid-Position auf 1 gesetzT (y/x): " + y + ":"
-                    //        + x + "(Entry/exit):" + E.get(y).getNewid() + ":" +
-                    //        E.get(x).getNewid());
                 } else {
                     Grid[y][x] = 0;
Index: applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/util/RelationProducer.java
===================================================================
--- applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/util/RelationProducer.java	(revision 34525)
+++ applications/editors/josm/plugins/junctionchecking/src/org/openstreetmap/josm/plugins/JunctionChecker/util/RelationProducer.java	(revision 34659)
@@ -37,6 +37,6 @@
             Channel c = cit.next();
             // System.out.println(c.getWay().getId());
-            if (!(ways.contains(plugin.getOsmlayer().data.getPrimitiveById(c
-                    .getWay().getId(), OsmPrimitiveType.WAY)))) {
+            if (!ways.contains(plugin.getOsmlayer().data.getPrimitiveById(c
+                    .getWay().getId(), OsmPrimitiveType.WAY))) {
                 ways.add(plugin.getOsmlayer().data.getPrimitiveById(c.getWay()
                         .getId(), OsmPrimitiveType.WAY));
