Ignore:
Timestamp:
2015-04-28T00:49:49+02:00 (5 years ago)
Author:
Don-vip
Message:

fix sonar squid:S2039 - Member variable visibility should be specified

Location:
trunk/src/org/openstreetmap/josm/io
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/NoteReader.java

    r8225 r8285  
    5757        private Boolean commentIsNew;
    5858        private List<Note> notes;
    59         String commentText;
     59        private String commentText;
    6060
    6161        @Override
  • trunk/src/org/openstreetmap/josm/io/OsmApi.java

    r7748 r8285  
    167167        private static final String CAPABILITIES = "capabilities";
    168168
    169         ProgressMonitor monitor;
    170         boolean fastFail;
     169        private ProgressMonitor monitor;
     170        private boolean fastFail;
    171171
    172172        public CapabilitiesCache(ProgressMonitor monitor, boolean fastFail) {
  • trunk/src/org/openstreetmap/josm/io/OsmServerWriter.java

    r8126 r8285  
    5757    private static final int MSECS_PER_MINUTE = MSECS_PER_SECOND * SECONDS_PER_MINUTE;
    5858
    59     long uploadStartTime;
     59    private long uploadStartTime;
    6060
    6161    public String timeLeft(int progress, int list_size) {
  • trunk/src/org/openstreetmap/josm/io/imagery/ImageryReader.java

    r8091 r8285  
    7272        private Stack<State> states;
    7373
    74         List<ImageryInfo> entries;
     74        private List<ImageryInfo> entries;
    7575
    7676        /**
     
    7878         * that this version of JOSM cannot process.
    7979         */
    80         boolean skipEntry;
    81 
    82         ImageryInfo entry;
    83         ImageryBounds bounds;
    84         Shape shape;
     80        private boolean skipEntry;
     81
     82        private ImageryInfo entry;
     83        private ImageryBounds bounds;
     84        private Shape shape;
    8585        // language of last element, does only work for simple ENTRY_ATTRIBUTE's
    86         String lang;
    87         List<String> projections;
    88 
    89         @Override public void startDocument() {
     86        private String lang;
     87        private List<String> projections;
     88
     89        @Override
     90        public void startDocument() {
    9091            accumulator = new StringBuffer();
    9192            skipEntry = false;
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/AddTagsDialog.java

    r7679 r8285  
    5757     */
    5858    static class DeleteTagMarker {
    59         int num;
     59        private int num;
    6060        public DeleteTagMarker(int num) {
    6161            this.num = num;
     
    7171     */
    7272    static class ExistingValues {
    73         String tag;
    74         Map<String, Integer> valueCount;
     73        private String tag;
     74        private Map<String, Integer> valueCount;
    7575        public ExistingValues(String tag) {
    7676            this.tag=tag; valueCount=new HashMap<>();
     
    126126
    127127        final DefaultTableModel tm = new DefaultTableModel(new String[] {tr("Assume"), tr("Key"), tr("Value"), tr("Existing values")}, tags.length) {
    128             final Class<?>[] types = {Boolean.class, String.class, Object.class, ExistingValues.class};
     128            private final Class<?>[] types = {Boolean.class, String.class, Object.class, ExistingValues.class};
    129129            @Override
    130130            public Class<?> getColumnClass(int c) {
  • trunk/src/org/openstreetmap/josm/io/remotecontrol/handler/AddWayHandler.java

    r7937 r8285  
    3737
    3838    private final List<LatLon> allCoordinates = new ArrayList<>();
    39    
     39
    4040    private Way way;
    4141
     
    4343     * The place to remeber already added nodes (they are reused if needed @since 5845
    4444     */
    45     Map<LatLon, Node> addedNodes;
     45    private Map<LatLon, Node> addedNodes;
    4646
    4747    @Override
Note: See TracChangeset for help on using the changeset viewer.