Changeset 3542 in josm
- Timestamp:
- 2010-09-18T17:43:30+02:00 (14 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/Main.java
r3479 r3542 104 104 * Global application preferences 105 105 */ 106 public static Preferences pref = new Preferences();106 public static Preferences pref; 107 107 108 108 /** -
trunk/src/org/openstreetmap/josm/gui/MainApplet.java
r3540 r3542 140 140 Main.applet = true; 141 141 MainApplet applet = new MainApplet(); 142 Main.pref = new ServerSidePreferences(applet.getCodeBase()); 142 143 applet.setStub(new AppletStub() { 143 144 public void appletResize(int w, int h) { -
trunk/src/org/openstreetmap/josm/gui/MainApplication.java
r3461 r3542 34 34 import org.openstreetmap.josm.actions.AutoScaleAction; 35 35 import org.openstreetmap.josm.data.AutosaveTask; 36 import org.openstreetmap.josm.data.Preferences; 36 37 import org.openstreetmap.josm.gui.layer.OsmDataLayer; 37 38 import org.openstreetmap.josm.gui.preferences.server.OAuthAccessTokenHolder; … … 142 143 I18n.init(); 143 144 checkJava6(); 145 Main.pref = new Preferences(); 144 146 145 147 Policy.setPolicy(new Policy() {
Note:
See TracChangeset
for help on using the changeset viewer.