- Timestamp:
- 2016-09-03T12:42:28+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/data/preferences/AbstractProperty.java
r10824 r10939 14 14 15 15 private final class PreferenceChangedListenerAdapter implements PreferenceChangedListener { 16 private ValueChangeListener<? super T> listener;16 private final ValueChangeListener<? super T> listener; 17 17 18 18 PreferenceChangedListenerAdapter(ValueChangeListener<? super T> listener) { -
trunk/src/org/openstreetmap/josm/data/preferences/AbstractToStringProperty.java
r10824 r10939 25 25 */ 26 26 public static class ChildProperty<T> extends AbstractToStringProperty<T> { 27 private AbstractToStringProperty<T> parent;27 private final AbstractToStringProperty<T> parent; 28 28 29 29 ChildProperty(AbstractToStringProperty<T> parent, String key) { -
trunk/src/org/openstreetmap/josm/gui/conflict/tags/TagConflictResolverModel.java
r10737 r10939 22 22 private transient TagCollection tags; 23 23 private List<String> displayedKeys; 24 private Set<String> keysWithConflicts = new HashSet<>();24 private final Set<String> keysWithConflicts = new HashSet<>(); 25 25 private transient Map<String, MultiValueResolutionDecision> decisions; 26 26 private int numConflicts; -
trunk/src/org/openstreetmap/josm/gui/layer/imagery/TileCoordinateConverter.java
r10805 r10939 23 23 private MapView mapView; 24 24 private TileSourceDisplaySettings settings; 25 private TileSource tileSource;25 private final TileSource tileSource; 26 26 27 27 /** -
trunk/src/org/openstreetmap/josm/tools/ListenerList.java
r10936 r10939 35 35 private static final class WeakListener<T> { 36 36 37 private WeakReference<T> listener;37 private final WeakReference<T> listener; 38 38 39 39 WeakListener(T listener) { … … 62 62 @Override 63 63 public String toString() { 64 return "WeakListener [listener=" + listener + "]";64 return "WeakListener [listener=" + listener + ']'; 65 65 } 66 66 } … … 165 165 */ 166 166 public static class TracingListenerList<T> extends ListenerList<T> { 167 private HashMap<T, StackTraceElement[]> listenersAdded = new HashMap<>();168 private HashMap<T, StackTraceElement[]> listenersRemoved = new HashMap<>();167 private final HashMap<T, StackTraceElement[]> listenersAdded = new HashMap<>(); 168 private final HashMap<T, StackTraceElement[]> listenersRemoved = new HashMap<>(); 169 169 170 170 protected TracingListenerList() { -
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportQueue.java
r10886 r10939 20 20 private static final BugReportQueue INSTANCE = new BugReportQueue(); 21 21 22 private LinkedList<ReportedException> reportsToDisplay = new LinkedList<>();22 private final LinkedList<ReportedException> reportsToDisplay = new LinkedList<>(); 23 23 private boolean suppressAllMessages; 24 private ArrayList<ReportedException> suppressFor = new ArrayList<>();24 private final ArrayList<ReportedException> suppressFor = new ArrayList<>(); 25 25 private Thread displayThread; 26 26 private final BiFunction<ReportedException, Integer, SuppressionMode> bugReportHandler = getBestHandler();
Note:
See TracChangeset
for help on using the changeset viewer.