Ignore:
Timestamp:
2015-10-09T02:12:45+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - squid:S3052 - Fields should not be initialized to default values

Location:
trunk/src/org/openstreetmap/josm/command
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/command/AddPrimitivesCommand.java

    r8512 r8840  
    2929
    3030    // only filled on undo
    31     private List<OsmPrimitive> createdPrimitives = null;
    32     private Collection<OsmPrimitive> createdPrimitivesToSelect = null;
     31    private List<OsmPrimitive> createdPrimitives;
     32    private Collection<OsmPrimitive> createdPrimitivesToSelect;
    3333
    3434    /**
  • trunk/src/org/openstreetmap/josm/command/RotateCommand.java

    r8456 r8840  
    2525     * angle of rotation starting click to pivot
    2626     */
    27     private double startAngle = 0.0;
     27    private double startAngle;
    2828
    2929    /**
    3030     * computed rotation angle between starting click and current mouse pos
    3131     */
    32     private double rotationAngle = 0.0;
     32    private double rotationAngle;
    3333
    3434    /**
  • trunk/src/org/openstreetmap/josm/command/ScaleCommand.java

    r8456 r8840  
    2424     * World position of the mouse when the user started the command.
    2525     */
    26     private EastNorth startEN = null;
     26    private EastNorth startEN;
    2727
    2828    /**
  • trunk/src/org/openstreetmap/josm/command/SequenceCommand.java

    r8510 r8840  
    2727    private final String name;
    2828    /** Determines if the sequence execution should continue after one of its commands fails. */
    29     public boolean continueOnError = false;
     29    public boolean continueOnError;
    3030
    3131    /**
Note: See TracChangeset for help on using the changeset viewer.