Changeset 13652 in josm for trunk/src/org
- Timestamp:
- 2018-04-21T01:50:32+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r13434 r13652 165 165 protected synchronized void traceRandomRepaint() { 166 166 if (!ignoreRepaint) { 167 System.err.println("Repaint:"); 168 Thread.dumpStack(); 167 Logging.trace("Repaint: {0} from {1}", Thread.currentThread().getStackTrace()[3], Thread.currentThread()); 169 168 } 170 169 ignoreRepaint = false; -
trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
r13648 r13652 665 665 if (ir == null) { 666 666 return null; 667 } else if (Logging.isTraceEnabled()) { 668 Logging.trace("get {0} from {1}", this, Thread.currentThread()); 667 669 } 668 670 if (virtualMaxWidth != -1 || virtualMaxHeight != -1) … … 2028 2030 } 2029 2031 } 2032 2033 @Override 2034 public String toString() { 2035 return ("ImageProvider [" 2036 + (dirs != null && !dirs.isEmpty() ? "dirs=" + dirs + ", " : "") + (id != null ? "id=" + id + ", " : "") 2037 + (subdir != null && !subdir.isEmpty() ? "subdir=" + subdir + ", " : "") + (name != null ? "name=" + name + ", " : "") 2038 + (archive != null ? "archive=" + archive + ", " : "") 2039 + (inArchiveDir != null && !inArchiveDir.isEmpty() ? "inArchiveDir=" + inArchiveDir : "") + ']').replaceAll(", \\]", "]"); 2040 } 2030 2041 } -
trunk/src/org/openstreetmap/josm/tools/ImageResource.java
r12868 r13652 275 275 else 276 276 return getImageIcon(new Dimension(-1, maxHeight), multiResolution); 277 } 277 } 278 279 @Override 280 public String toString() { 281 return "ImageResource [" 282 + (svg != null ? "svg=" + svg : "") 283 + (baseImage != null ? "baseImage=" + baseImage : "") + ']'; 284 } 278 285 }
Note:
See TracChangeset
for help on using the changeset viewer.