diff --git a/src/java/com/threerings/cast/CastPrefs.java b/src/java/com/threerings/cast/CastPrefs.java index 4260a4ae..3d41df85 100644 --- a/src/java/com/threerings/cast/CastPrefs.java +++ b/src/java/com/threerings/cast/CastPrefs.java @@ -21,15 +21,14 @@ package com.threerings.cast; -import com.samskivert.util.Config; +import com.samskivert.util.PrefsConfig; /** - * Provides access to runtime configuration parameters for this package - * and its subpackages. + * Provides access to runtime configuration parameters for this package and its subpackages. */ public class CastPrefs { - /** Used to load our preferences from a properties file and map them - * to the persistent Java preferences repository. */ - public static Config config = new Config("rsrc/config/cast"); + /** Used to load our preferences from a properties file and map them to the persistent Java + * preferences repository. */ + public static PrefsConfig config = new PrefsConfig("rsrc/config/cast"); } diff --git a/src/java/com/threerings/jme/tools/ModelViewer.java b/src/java/com/threerings/jme/tools/ModelViewer.java index f43517e0..e5073e54 100644 --- a/src/java/com/threerings/jme/tools/ModelViewer.java +++ b/src/java/com/threerings/jme/tools/ModelViewer.java @@ -101,8 +101,8 @@ import com.jmex.effects.particles.ParticleGeometry; import com.samskivert.swing.GroupLayout; import com.samskivert.swing.Spacer; -import com.samskivert.util.Config; import com.samskivert.util.ObjectUtil; +import com.samskivert.util.PrefsConfig; import com.samskivert.util.StringUtil; import com.threerings.resource.ResourceManager; @@ -1117,8 +1117,7 @@ public class ModelViewer extends JmeCanvasApp } /** The app configuration. */ - protected static Config _config = - new Config("com/threerings/jme/tools/ModelViewer"); + protected static PrefsConfig _config = new PrefsConfig("com/threerings/jme/tools/ModelViewer"); /** Forces all particle systems to respawn. */ protected static SpatialVisitor _respawner = diff --git a/src/java/com/threerings/media/MediaPrefs.java b/src/java/com/threerings/media/MediaPrefs.java index b54300d6..593b918a 100644 --- a/src/java/com/threerings/media/MediaPrefs.java +++ b/src/java/com/threerings/media/MediaPrefs.java @@ -21,15 +21,14 @@ package com.threerings.media; -import com.samskivert.util.Config; +import com.samskivert.util.PrefsConfig; /** - * Provides access to runtime configuration parameters for the media - * package and its subpackages. + * Provides access to runtime configuration parameters for the media package and its subpackages. */ public class MediaPrefs { - /** Used to load our preferences from a properties file and map them - * to the persistent Java preferences repository. */ - public static Config config = new Config("rsrc/config/media"); + /** Used to load our preferences from a properties file and map them to the persistent Java + * preferences repository. */ + public static PrefsConfig config = new PrefsConfig("rsrc/config/media"); } diff --git a/src/java/com/threerings/miso/MisoPrefs.java b/src/java/com/threerings/miso/MisoPrefs.java index eb5d2fb8..f9bef73a 100644 --- a/src/java/com/threerings/miso/MisoPrefs.java +++ b/src/java/com/threerings/miso/MisoPrefs.java @@ -21,15 +21,14 @@ package com.threerings.miso; -import com.samskivert.util.Config; +import com.samskivert.util.PrefsConfig; /** - * Provides access to runtime configuration parameters for the miso - * package and its subpackages. + * Provides access to runtime configuration parameters for the miso package and its subpackages. */ public class MisoPrefs { - /** Used to load our preferences from a properties file and map them - * to the persistent Java preferences repository. */ - public static Config config = new Config("rsrc/config/miso"); + /** Used to load our preferences from a properties file and map them to the persistent Java + * preferences repository. */ + public static PrefsConfig config = new PrefsConfig("rsrc/config/miso"); }