Ignore:
Timestamp:
2015-05-11T13:34:53+02:00 (5 years ago)
Author:
Don-vip
Message:

squid:S00116 - Field names should comply with a naming convention

Location:
trunk/src/org/openstreetmap/josm/actions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/downloadtasks/DownloadNotesUrlIdTask.java

    r8318 r8346  
    1212public class DownloadNotesUrlIdTask extends DownloadNotesTask {
    1313
    14     private final String URL_ID_PATTERN = "https?://www\\.(osm|openstreetmap)\\.org/note/(\\p{Digit}+).*";
     14    private static final String URL_ID_PATTERN = "https?://www\\.(osm|openstreetmap)\\.org/note/(\\p{Digit}+).*";
    1515
    1616    @Override
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java

    r8338 r8346  
    7373 */
    7474public class DrawAction extends MapMode implements MapViewPaintable, SelectionChangedListener, KeyPressReleaseListener, ModifierListener {
     75
     76    private static final Color ORANGE_TRANSPARENT = new Color(Color.ORANGE.getRed(),Color.ORANGE.getGreen(),Color.ORANGE.getBlue(),128);
     77    private static final double PHI = Math.toRadians(90);
     78
    7579    private final Cursor cursorJoinNode;
    7680    private final Cursor cursorJoinWay;
    7781
    7882    private transient Node lastUsedNode = null;
    79     private static final double PHI = Math.toRadians(90);
    8083    private double toleranceMultiplier;
    8184
     
    116119    private static int snapToIntersectionThreshold;
    117120
     121    /**
     122     * Constructs a new {@code DrawAction}.
     123     * @param mapFrame Map frame
     124     */
    118125    public DrawAction(MapFrame mapFrame) {
    119126        super(tr("Draw"), "node/autonode", tr("Draw nodes"),
     
    13231330
    13241331        private JCheckBoxMenuItem checkBox;
    1325         public final Color ORANGE_TRANSPARENT = new Color(Color.ORANGE.getRed(),Color.ORANGE.getGreen(),Color.ORANGE.getBlue(),128);
    13261332
    13271333        public void init() {
Note: See TracChangeset for help on using the changeset viewer.