From d6929da88446ea04703aca41c29e209c2b774169 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Wed, 31 Jan 2007 00:46:21 +0000 Subject: [PATCH] Config -> PrefsConfig in appropriate places. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4518 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/admin/server/PrefsConfigRegistry.java | 6 +++--- src/java/com/threerings/presents/client/PresentsPrefs.java | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/java/com/threerings/admin/server/PrefsConfigRegistry.java b/src/java/com/threerings/admin/server/PrefsConfigRegistry.java index 42296457c..72ff4d4d9 100644 --- a/src/java/com/threerings/admin/server/PrefsConfigRegistry.java +++ b/src/java/com/threerings/admin/server/PrefsConfigRegistry.java @@ -21,7 +21,7 @@ package com.threerings.admin.server; -import com.samskivert.util.Config; +import com.samskivert.util.PrefsConfig; import com.threerings.presents.dobj.DObject; /** @@ -39,12 +39,12 @@ public class PrefsConfigRegistry extends ConfigRegistry protected class PrefsObjectRecord extends ObjectRecord { - public Config config; + public PrefsConfig config; public PrefsObjectRecord (String path, DObject object) { super(object); - this.config = new Config(path); + this.config = new PrefsConfig(path); } protected boolean getValue (String field, boolean defval) { diff --git a/src/java/com/threerings/presents/client/PresentsPrefs.java b/src/java/com/threerings/presents/client/PresentsPrefs.java index 3bda29214..10d3c5439 100644 --- a/src/java/com/threerings/presents/client/PresentsPrefs.java +++ b/src/java/com/threerings/presents/client/PresentsPrefs.java @@ -21,7 +21,7 @@ package com.threerings.presents.client; -import com.samskivert.util.Config; +import com.samskivert.util.PrefsConfig; /** * Provides access to runtime configuration parameters for this package @@ -31,5 +31,5 @@ public class PresentsPrefs { /** 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/presents"); + public static PrefsConfig config = new PrefsConfig("rsrc/config/presents"); }