Changeset 12869 in josm for trunk/src/org/openstreetmap
- Timestamp:
- 2017-09-16T02:20:05+02:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/DeleteCommand.java
r12828 r12869 103 103 } 104 104 105 private static DeletionCallback callback;105 private static volatile DeletionCallback callback; 106 106 107 107 /** -
trunk/src/org/openstreetmap/josm/command/SplitWayCommand.java
r12846 r12869 38 38 public class SplitWayCommand extends SequenceCommand { 39 39 40 private static Consumer<String> warningNotifier = msg -> Logging.warn(msg);40 private static volatile Consumer<String> warningNotifier = msg -> Logging.warn(msg); 41 41 42 42 /** -
trunk/src/org/openstreetmap/josm/data/PreferencesUtils.java
r12841 r12869 33 33 public final class PreferencesUtils { 34 34 35 private static StringBuilder summary = new StringBuilder();35 private static volatile StringBuilder summary = new StringBuilder(); 36 36 37 37 private PreferencesUtils() { -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r12855 r12869 178 178 * Command-line arguments used to run the application. 179 179 */ 180 private static List<String> commandLineArgs;180 private static volatile List<String> commandLineArgs; 181 181 182 182 /** … … 226 226 * @since 12641 227 227 */ 228 public static UndoRedoHandler undoRedo;228 public static volatile UndoRedoHandler undoRedo; 229 229 230 230 private static final LayerChangeListener undoRedoCleaner = new LayerChangeListener() { -
trunk/src/org/openstreetmap/josm/io/MessageNotifier.java
r12846 r12869 47 47 } 48 48 49 private static NotifierCallback callback;49 private static volatile NotifierCallback callback; 50 50 51 51 /** -
trunk/src/org/openstreetmap/josm/io/OsmConnection.java
r12803 r12869 50 50 } 51 51 52 static OAuthAccessTokenFetcher fetcher = u -> {52 static volatile OAuthAccessTokenFetcher fetcher = u -> { 53 53 throw new JosmRuntimeException("OsmConnection.setOAuthAccessTokenFetcher() has not been called"); 54 54 }; -
trunk/src/org/openstreetmap/josm/io/auth/AbstractCredentialsAgent.java
r12821 r12869 37 37 } 38 38 39 private static CredentialsProvider credentialsProvider = (a, b, c, d, e, f) -> Logging.error("Credentials provider has not been set"); 39 private static volatile CredentialsProvider credentialsProvider = 40 (a, b, c, d, e, f) -> Logging.error("Credentials provider has not been set"); 40 41 41 42 /** -
trunk/src/org/openstreetmap/josm/tools/OsmUrlToBounds.java
r12803 r12869 24 24 private static final String SHORTLINK_PREFIX = "http://osm.org/go/"; 25 25 26 private static Supplier<Dimension> mapSize = () -> new Dimension(800, 600);26 private static volatile Supplier<Dimension> mapSize = () -> new Dimension(800, 600); 27 27 28 28 private OsmUrlToBounds() { -
trunk/src/org/openstreetmap/josm/tools/bugreport/BugReportSender.java
r12791 r12869 72 72 }; 73 73 74 private static BugReportSendingHandler handler = FALLBACK_BUGREPORT_SENDING_HANDLER;74 private static volatile BugReportSendingHandler handler = FALLBACK_BUGREPORT_SENDING_HANDLER; 75 75 76 76 private final String statusText;
Note:
See TracChangeset
for help on using the changeset viewer.