Changeset 35100 in osm for applications/editors


Ignore:
Timestamp:
2019-08-23T22:05:24+02:00 (5 years ago)
Author:
donvip
Message:

fix #josm18068 - reduce number of decimal places to 5 (patch by Klumbumbus) + unit test

Location:
applications/editors/josm/plugins/imagery-xml-bounds
Files:
9 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/imagery-xml-bounds/.classpath

    r32680 r35100  
    22<classpath>
    33        <classpathentry kind="src" path="src"/>
     4        <classpathentry kind="src" output="bintest" path="test/unit">
     5                <attributes>
     6                        <attribute name="test" value="true"/>
     7                </attributes>
     8        </classpathentry>
    49        <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
    510        <classpathentry combineaccessrules="false" kind="src" path="/JOSM"/>
     11        <classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
    612        <classpathentry kind="output" path="bin"/>
    713</classpath>
  • applications/editors/josm/plugins/imagery-xml-bounds/src/org/openstreetmap/josm/plugins/imageryxmlbounds/actions/ComputeBoundsAction.java

    r34326 r35100  
    4949public class ComputeBoundsAction extends AbstractAction implements XmlBoundsConstants {
    5050
    51     protected static final DecimalFormat DF = new DecimalFormat("#0.#######", new DecimalFormatSymbols(Locale.UK));
     51    protected static final DecimalFormat DF = new DecimalFormat("#0.#####", new DecimalFormatSymbols(Locale.UK));
    5252
    5353    protected static final String ACTION_NAME = tr("XML Imagery Bounds");
Note: See TracChangeset for help on using the changeset viewer.