Changeset 11015 in josm for trunk


Ignore:
Timestamp:
2016-09-17T23:08:21+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - pmd:ImmutableField - Immutable Field

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java

    r11013 r11015  
    141141        private String baseUrl;
    142142        private String style;
    143         private Collection<String> tileMatrixSetLinks = new ArrayList<>();
     143        private final Collection<String> tileMatrixSetLinks = new ArrayList<>();
    144144
    145145        Layer(Layer l) {
     
    225225
    226226    private final Map<String, String> headers = new ConcurrentHashMap<>();
    227     private Collection<Layer> layers;
     227    private final Collection<Layer> layers;
    228228    private Layer currentLayer;
    229229    private TileMatrixSet currentTileMatrixSet;
  • trunk/src/org/openstreetmap/josm/gui/datatransfer/TagTransferable.java

    r10637 r11015  
    1717 */
    1818public class TagTransferable implements Transferable {
    19     private TagTransferData data;
     19    private final TagTransferData data;
    2020
    2121    /**
  • trunk/src/org/openstreetmap/josm/gui/layer/imagery/TileCoordinateConverter.java

    r10939 r11015  
    2121 */
    2222public class TileCoordinateConverter {
    23     private MapView mapView;
    24     private TileSourceDisplaySettings settings;
     23    private final MapView mapView;
     24    private final TileSourceDisplaySettings settings;
    2525    private final TileSource tileSource;
    2626
  • trunk/src/org/openstreetmap/josm/gui/widgets/NativeFileChooser.java

    r11004 r11015  
    2626    private final FileDialog fileDialog;
    2727    private FileFilter fileFilter;
    28     private List<FileFilter> fileFilters = new ArrayList<>();
     28    private final List<FileFilter> fileFilters = new ArrayList<>();
    2929    private int selectionMode;
    3030
Note: See TracChangeset for help on using the changeset viewer.