Ignore:
Timestamp:
2011-07-01T09:32:56+02:00 (12 years ago)
Author:
stoecker
Message:

remove old debug stuff

Location:
trunk/src/org/openstreetmap/josm/command
Files:
1 deleted
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/ChangeRelationMemberRoleCommand.java

    r3262 r4191  
    4343    @Override public boolean executeCommand() {
    4444        if (position < 0 || position >= relation.getMembersCount()) {
    45             Main.debug("error changing the role");
    4645            return false;
    4746        }
  • trunk/src/org/openstreetmap/josm/command/Command.java

    r3262 r4191  
    121121        if (o != null)
    122122            return o;
    123         Main.debug("unable to find osm with id: " + osm.getId() + " hashCode: " + osm.hashCode());
    124123        for (OsmPrimitive t : cloneMap.keySet()) {
    125124            PrimitiveData to = cloneMap.get(t);
    126             Main.debug("now: " + t.getId() + " hashCode: " + t.hashCode());
    127             Main.debug("orig: " + to.getUniqueId() + " hashCode: " + to.hashCode());
    128125        }
    129126        return o;
  • trunk/src/org/openstreetmap/josm/command/ConflictResolveCommand.java

    r3083 r4191  
    33
    44import static org.openstreetmap.josm.tools.I18n.tr;
    5 
    6 import java.util.logging.Logger;
    75
    86import org.openstreetmap.josm.Main;
     
    2018 */
    2119public abstract class ConflictResolveCommand extends Command {
    22     private static final Logger logger = Logger.getLogger(ConflictResolveCommand.class.getName());
    23 
    2420    /** the list of resolved conflicts */
    2521    private ConflictCollection resolvedConflicts;
     
    6561
    6662        if (! Main.map.mapView.hasLayer(getLayer())) {
    67             logger.warning(tr("Cannot undo command ''{0}'' because layer ''{1}'' is not present any more",
     63            System.out.println(tr("Cannot undo command ''{0}'' because layer ''{1}'' is not present any more",
    6864                    this.toString(),
    6965                    getLayer().toString()
  • trunk/src/org/openstreetmap/josm/command/RelationMemberConflictResolverCommand.java

    r3262 r4191  
    66import java.util.Collection;
    77import java.util.List;
    8 import java.util.logging.Logger;
    98
    109import javax.swing.JLabel;
     
    2322 */
    2423public class RelationMemberConflictResolverCommand extends Command {
    25     private static final Logger logger = Logger.getLogger(RelationMemberConflictResolverCommand.class.getName());
    26 
    2724    /** my relation */
    2825    private final Relation my;
     
    8279    public void undoCommand() {
    8380        if (! Main.map.mapView.hasLayer(layer)) {
    84             logger.warning(tr("Cannot undo command ''{0}'' because layer ''{1}'' is not present any more",
     81            System.out.println(tr("Cannot undo command ''{0}'' because layer ''{1}'' is not present any more",
    8582                    this.toString(),
    8683                    layer.toString()
  • trunk/src/org/openstreetmap/josm/command/SequenceCommand.java

    r3275 r4191  
    5252            Command c = sequence[i];
    5353            boolean result = c.executeCommand();
    54             if (!result) {
    55                 Main.debug("SequenceCommand, executing command[" + i + "] " +  c + " result: " + result);
    56             }
    5754            if (!result && !continueOnError) {
    5855                this.undoCommands(i-1);
  • trunk/src/org/openstreetmap/josm/command/TagConflictResolveCommand.java

    r3262 r4191  
    77import java.util.Collection;
    88import java.util.List;
    9 import java.util.logging.Logger;
    109
    1110import javax.swing.JLabel;
     
    2322 */
    2423public class TagConflictResolveCommand extends ConflictResolveCommand {
    25     @SuppressWarnings("unused")
    26     private static final Logger logger = Logger.getLogger(TagConflictResolveCommand.class.getName());
    27 
    2824    /** the conflict to resolve */
    2925    private Conflict<? extends OsmPrimitive> conflict;
  • trunk/src/org/openstreetmap/josm/command/UndeletePrimitivesCommand.java

    r3995 r4191  
    2828@Deprecated
    2929public class UndeletePrimitivesCommand extends ConflictResolveCommand {
    30     //static private final Logger logger = Logger.getLogger(UndeletePrimitivesCommand.class.getName());
    31 
    3230    /** the node to undelete */
    3331    private final List<OsmPrimitive> toUndelete = new ArrayList<OsmPrimitive>();
  • trunk/src/org/openstreetmap/josm/command/WayNodesConflictResolverCommand.java

    r3262 r4191  
    66import java.util.Collection;
    77import java.util.List;
    8 import java.util.logging.Logger;
    98
    109import javax.swing.JLabel;
     
    2221 */
    2322public class WayNodesConflictResolverCommand extends ConflictResolveCommand {
    24 
    25     static private final Logger logger = Logger.getLogger(WayNodesConflictResolverCommand.class.getName());
    26 
    2723    /** the conflict to resolve */
    2824    private Conflict<Way> conflict;
     
    6460        for (Node n:mergedNodeList) {
    6561            if (! getLayer().data.getNodes().contains(n)) {
    66                 logger.warning(tr("Main dataset does not include node {0}", n.toString()));
     62                System.out.println(tr("Main dataset does not include node {0}", n.toString()));
    6763            }
    6864        }
Note: See TracChangeset for help on using the changeset viewer.