Changeset 2990 in josm for trunk/src/org/openstreetmap/josm/plugins
- Timestamp:
- 2010-02-15T09:03:57+01:00 (15 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/plugins
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/plugins/PluginDownloadTask.java
r2853 r2990 35 35 */ 36 36 public class PluginDownloadTask extends PleaseWaitRunnable{ 37 @SuppressWarnings("unused") 37 38 private static final Logger logger = Logger.getLogger(PluginDownloadTask.class.getName()); 38 39 -
trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java
r2955 r2990 212 212 policy = policy.trim().toLowerCase(); 213 213 if (policy.equals("never")) { 214 if ( togglePreferenceKey.equals("pluginmanager.version-based-update.policy")) {214 if ("pluginmanager.version-based-update.policy".equals(togglePreferenceKey)) { 215 215 System.out.println(tr("Skipping plugin update after JOSM upgrade. Automatic update at startup is disabled.")); 216 } else if ( togglePreferenceKey.equals("pluginmanager.time-based-update.policy")) {216 } else if ("pluginmanager.time-based-update.policy".equals(togglePreferenceKey)) { 217 217 System.out.println(tr("Skipping plugin update after elapsed update interval. Automatic update at startup is disabled.")); 218 218 } … … 221 221 222 222 if (policy.equals("always")) { 223 if ( togglePreferenceKey.equals("pluginmanager.time-based-update.policy")) {223 if ("pluginmanager.time-based-update.policy".equals(togglePreferenceKey)) { 224 224 System.out.println(tr("Running plugin update after JOSM upgrade. Automatic update at startup is enabled.")); 225 } else if ( togglePreferenceKey.equals("pluginmanager.time-based-update.policy")) {225 } else if ("pluginmanager.time-based-update.policy".equals(togglePreferenceKey)) { 226 226 System.out.println(tr("Running plugin update after elapsed update interval. Automatic update at startup is disabled.")); 227 227 }
Note:
See TracChangeset
for help on using the changeset viewer.