Ignore:
Timestamp:
2013-02-05T03:06:08+01:00 (11 years ago)
Author:
Don-vip
Message:

fix #8394 - improve javadoc + remove deprecated debug method

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/osm/Node.java

    r5410 r5694  
    189189        super.setDataset(dataSet);
    190190        if (!isIncomplete() && isVisible() && (getCoor() == null || getEastNorth() == null))
    191             throw new DataIntegrityProblemException("Complete node with null coordinates: " + toString() + get3892DebugInfo());
     191            throw new DataIntegrityProblemException("Complete node with null coordinates: " + toString());
    192192    }
    193193
     
    320320
    321321    /**
    322      * Get debug info for bug #3892.
    323      * @return debug info for bug #3892.
    324      * @deprecated This method will be remove by the end of 2012 if no report appears.
    325      */
    326     public String get3892DebugInfo() {
    327         StringBuilder builder = new StringBuilder();
    328         builder.append("Unexpected error. Please report it to http://josm.openstreetmap.de/ticket/3892\n");
    329         builder.append(toString());
    330         builder.append("\n");
    331         if (isLatLonKnown()) {
    332             builder.append("Coor is null\n");
    333         } else {
    334             builder.append(String.format("EastNorth: %s\n", getEastNorth()));
    335             builder.append(Main.getProjection());
    336             builder.append("\n");
    337         }
    338 
    339         return builder.toString();
    340     }
    341 
    342     /**
    343322     * Invoke to invalidate the internal cache of projected east/north coordinates.
    344323     * Coordinates are reprojected on demand when the {@link #getEastNorth()} is invoked
Note: See TracChangeset for help on using the changeset viewer.