Ignore:
Timestamp:
2017-02-04T14:47:39+01:00 (3 years ago)
Author:
Don-vip
Message:

sonar - fb-contrib:FCBL_FIELD_COULD_BE_LOCAL - Correctness - Class defines fields that are used only as locals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/DrawSnapHelper.java

    r11502 r11534  
    167167    private static final class AnglePopupMenu extends JPopupMenu {
    168168
    169         private final JCheckBoxMenuItem repeatedCb;
    170         private final JCheckBoxMenuItem helperCb;
    171         private final JCheckBoxMenuItem projectionCb;
    172 
    173169        private AnglePopupMenu(final DrawSnapHelper snapHelper) {
    174             repeatedCb = new JCheckBoxMenuItem(new RepeatedAction(snapHelper));
    175             helperCb = new JCheckBoxMenuItem(new HelperAction(snapHelper));
    176             projectionCb = new JCheckBoxMenuItem(new ProjectionAction(snapHelper));
     170            JCheckBoxMenuItem repeatedCb = new JCheckBoxMenuItem(new RepeatedAction(snapHelper));
     171            JCheckBoxMenuItem helperCb = new JCheckBoxMenuItem(new HelperAction(snapHelper));
     172            JCheckBoxMenuItem projectionCb = new JCheckBoxMenuItem(new ProjectionAction(snapHelper));
    177173
    178174            helperCb.setState(DrawAction.DRAW_CONSTRUCTION_GEOMETRY.get());
Note: See TracChangeset for help on using the changeset viewer.