Changeset 9252 in josm
- Timestamp:
- 2016-01-02T00:54:32+01:00 (9 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 deleted
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r9250 r9252 609 609 <target name="checkstyle"> 610 610 <taskdef resource="com/puppycrawl/tools/checkstyle/ant/checkstyle-ant-task.properties" 611 classpath="tools/checkstyle/checkstyle-6.14-all.jar"/> 611 classpath="tools/checkstyle/checkstyle-6.14.1-all.jar"/> 612 612 <checkstyle config="tools/checkstyle/josm_checks.xml"> 613 613 <fileset dir="${basedir}/src/org/openstreetmap/josm" includes="**/*.java" -
trunk/src/org/openstreetmap/josm/gui/preferences/server/OverpassServerPreference.java
r9242 r9252 1 // License: GPL. For details, see LICENSE file. 1 2 package org.openstreetmap.josm.gui.preferences.server; 2 3 -
trunk/src/org/openstreetmap/josm/tools/ImageResource.java
r9251 r9252 164 164 realHeight = svg.getHeight(); 165 165 /* extend small images to the possible maximum, may get reduced later again */ 166 if(maxSize.width != -1 && realWidth < maxSize.width) { 166 if (maxSize.width != -1 && realWidth < maxSize.width) { 167 167 realHeight *= maxSize.width/realWidth; 168 168 realWidth = maxSize.width; 169 169 } 170 if(maxSize.height != -1 && realHeight < maxSize.height) { 170 if (maxSize.height != -1 && realHeight < maxSize.height) { 171 171 realWidth *= maxSize.height/realHeight; 172 172 realHeight = maxSize.height;
Note:
See TracChangeset
for help on using the changeset viewer.