Ignore:
Timestamp:
2020-08-23T17:23:30+02:00 (4 years ago)
Author:
simon04
Message:

see #19698 - Java Warnings, PMD

Location:
trunk/src/org/openstreetmap/josm/gui/preferences/projection
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/GaussKruegerProjectionChoice.java

    r16913 r16916  
    1616public class GaussKruegerProjectionChoice extends ListProjectionChoice {
    1717
    18     private static final String[] zones = {"2", "3", "4", "5"};
     18    private static final String[] ZONES = {"2", "3", "4", "5"};
    1919
    2020    /**
     
    2222     */
    2323    public GaussKruegerProjectionChoice() {
    24         super(tr("Gau\u00DF-Kr\u00FCger"), /* NO-ICON */ "core:gauss-krueger", zones, tr("GK Zone"));
     24        super(tr("Gau\u00DF-Kr\u00FCger"), /* NO-ICON */ "core:gauss-krueger", ZONES, tr("GK Zone"));
    2525    }
    2626
  • trunk/src/org/openstreetmap/josm/gui/preferences/projection/LambertCC9ZonesProjectionChoice.java

    r16913 r16916  
    2323public class LambertCC9ZonesProjectionChoice extends ListProjectionChoice {
    2424
    25     private static final String[] lambert9zones = {
     25    private static final String[] LAMBERT_9_ZONES = {
    2626        tr("{0} ({1} to {2} degrees)", 1, 41, 43),
    2727        tr("{0} ({1} to {2} degrees)", 2, 42, 44),
     
    3939     */
    4040    public LambertCC9ZonesProjectionChoice() {
    41         super(tr("Lambert CC9 Zone (France)"), /* NO-ICON */ "core:lambertcc9", lambert9zones, tr("Lambert CC Zone"));
     41        super(tr("Lambert CC9 Zone (France)"), /* NO-ICON */ "core:lambertcc9", LAMBERT_9_ZONES, tr("Lambert CC Zone"));
    4242    }
    4343
Note: See TracChangeset for help on using the changeset viewer.