Changeset 10626 in josm for trunk/src/org/openstreetmap/josm/data
- Timestamp:
- 2016-07-24T13:54:44+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/data
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/Preferences.java
r10608 r10626 793 793 } catch (NumberFormatException e) { 794 794 // fall out 795 if (Main.isTraceEnabled()) { 796 Main.trace(e.getMessage()); 797 } 795 Main.trace(e); 798 796 } 799 797 return def; … … 811 809 } catch (NumberFormatException e) { 812 810 // fall out 813 if (Main.isTraceEnabled()) { 814 Main.trace(e.getMessage()); 815 } 811 Main.trace(e); 816 812 } 817 813 return def; … … 827 823 } catch (NumberFormatException e) { 828 824 // fall out 829 if (Main.isTraceEnabled()) { 830 Main.trace(e.getMessage()); 831 } 825 Main.trace(e); 832 826 } 833 827 return def; … … 843 837 } catch (NumberFormatException e) { 844 838 // fall out 845 if (Main.isTraceEnabled()) { 846 Main.trace(e.getMessage()); 847 } 839 Main.trace(e); 848 840 } 849 841 return def; -
trunk/src/org/openstreetmap/josm/data/cache/JCSCachedTileLoaderJob.java
r10558 r10626 441 441 } catch (NumberFormatException e) { 442 442 // ignore malformed Cache-Control headers 443 if (Main.isTraceEnabled()) { 444 Main.trace(e.getMessage()); 445 } 443 Main.trace(e); 446 444 } 447 445 } -
trunk/src/org/openstreetmap/josm/data/osm/TagCollection.java
r8510 r10626 770 770 result += Integer.parseInt(value); 771 771 } catch (NumberFormatException e) { 772 if (Main.isTraceEnabled()) { 773 Main.trace(e.getMessage()); 774 } 772 Main.trace(e); 775 773 } 776 774 } -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/StyledMapRenderer.java
r10378 r10626 304 304 gv.setGlyphTransform(0, AffineTransform.getTranslateInstance(1000, 1000)); 305 305 Shape shape = gv.getGlyphOutline(0); 306 Main.trace("#10446: shape: "+shape.getBounds()); 306 if (Main.isTraceEnabled()) { 307 Main.trace("#10446: shape: "+shape.getBounds()); 308 } 307 309 // x is about 1000 on normal stystems and about 2000 when the bug occurs 308 310 int x = shape.getBounds().x;
Note:
See TracChangeset
for help on using the changeset viewer.