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/gui/download
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/download/BoundingBoxSelection.java

    r8836 r8840  
    4242public class BoundingBoxSelection implements DownloadSelection {
    4343
    44     private JosmTextField[] latlon = null;
     44    private JosmTextField[] latlon;
    4545    private final JosmTextArea tfOsmUrl = new JosmTextArea();
    4646    private final JosmTextArea showUrl = new JosmTextArea();
  • trunk/src/org/openstreetmap/josm/gui/download/DownloadDialog.java

    r8836 r8840  
    7575    protected JCheckBox cbStartup;
    7676    protected final JLabel sizeCheck = new JLabel();
    77     protected transient Bounds currentBounds = null;
     77    protected transient Bounds currentBounds;
    7878    protected boolean canceled;
    7979
  • trunk/src/org/openstreetmap/josm/gui/download/PlaceSelection.java

    r8836 r8840  
    184184        public double lat;
    185185        public double lon;
    186         public int zoom = 0;
    187         public Bounds bounds = null;
     186        public int zoom;
     187        public Bounds bounds;
    188188
    189189        public Bounds getDownloadArea() {
     
    198198     */
    199199    private static class NameFinderResultParser extends DefaultHandler {
    200         private SearchResult currentResult = null;
    201         private StringBuffer description = null;
    202         private int depth = 0;
     200        private SearchResult currentResult;
     201        private StringBuffer description;
     202        private int depth;
    203203        private List<SearchResult> data = new LinkedList<>();
    204204
     
    330330        private HttpURLConnection connection;
    331331        private List<SearchResult> data;
    332         private boolean canceled = false;
     332        private boolean canceled;
    333333        private Server useserver;
    334334        private Exception lastException;
     
    452452
    453453    static class NamedResultTableColumnModel extends DefaultTableColumnModel {
    454         private TableColumn col3 = null;
    455         private TableColumn col4 = null;
     454        private TableColumn col3;
     455        private TableColumn col4;
    456456        protected final void createColumns() {
    457457            TableColumn col = null;
Note: See TracChangeset for help on using the changeset viewer.