- Timestamp:
- 2018-10-14T00:31:10+02:00 (6 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CloseChangesetAction.java
r14273 r14326 23 23 import org.openstreetmap.josm.gui.io.CloseChangesetTask; 24 24 import org.openstreetmap.josm.io.ChangesetQuery; 25 import org.openstreetmap.josm.io.ChangesetUpdater; 25 26 import org.openstreetmap.josm.io.NetworkManager; 26 27 import org.openstreetmap.josm.io.OnlineResource; … … 62 63 63 64 protected void onPostDownloadOpenChangesets() { 65 ChangesetUpdater.check(); 64 66 List<Changeset> openChangesets = ChangesetCache.getInstance().getOpenChangesetsForCurrentUser(); 65 67 if (openChangesets.isEmpty()) { -
trunk/src/org/openstreetmap/josm/actions/UploadAction.java
r14252 r14326 31 31 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 32 32 import org.openstreetmap.josm.gui.util.GuiHelper; 33 import org.openstreetmap.josm.io.ChangesetUpdater; 33 34 import org.openstreetmap.josm.io.UploadStrategySpecification; 34 35 import org.openstreetmap.josm.spi.preferences.Config; … … 242 243 return; 243 244 245 ChangesetUpdater.check(); 246 244 247 final UploadDialog dialog = UploadDialog.getUploadDialog(); 245 248 dialog.setChangesetTags(layer.getDataSet()); -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r14273 r14326 130 130 import org.openstreetmap.josm.io.CachedFile; 131 131 import org.openstreetmap.josm.io.CertificateAmendment; 132 import org.openstreetmap.josm.io.ChangesetUpdater; 132 133 import org.openstreetmap.josm.io.DefaultProxySelector; 133 134 import org.openstreetmap.josm.io.FileWatcher; … … 952 953 } 953 954 955 ChangesetUpdater.start(); 956 954 957 if (Config.getPref().getBoolean("debug.edt-checker.enable", Version.getInstance().isLocalBuild())) { 955 958 // Repaint manager is registered so late for a reason - there is lots of violation during startup process -
trunk/src/org/openstreetmap/josm/gui/MainTermination.java
r14153 r14326 9 9 import org.openstreetmap.josm.data.Preferences; 10 10 import org.openstreetmap.josm.data.cache.JCSCacheManager; 11 import org.openstreetmap.josm.io.ChangesetUpdater; 12 import org.openstreetmap.josm.io.MessageNotifier; 13 import org.openstreetmap.josm.io.remotecontrol.RemoteControl; 11 14 import org.openstreetmap.josm.tools.ImageProvider; 12 15 import org.openstreetmap.josm.tools.Logging; … … 20 23 @Override 21 24 public void run() { 25 ChangesetUpdater.stop(); 26 MessageNotifier.stop(); 27 RemoteControl.stop(); 28 22 29 try { 23 30 MainApplication.worker.shutdown(); -
trunk/src/org/openstreetmap/josm/io/MessageNotifier.java
r14121 r14326 102 102 Logging.info(tr("{0} not available (offline mode)", tr("Message notifier"))); 103 103 } else if (!isRunning() && interval > 0 && isUserEnoughIdentified()) { 104 task = EXECUTOR.scheduleAtFixedRate(WORKER, 0, TimeUnit.MINUTES.toSeconds(interval), TimeUnit.SECONDS);104 task = EXECUTOR.scheduleAtFixedRate(WORKER, 0, interval, TimeUnit.MINUTES); 105 105 Logging.info("Message notifier active (checks every "+interval+" minute"+(interval > 1 ? "s" : "")+')'); 106 106 }
Note:
See TracChangeset
for help on using the changeset viewer.