From 04be7dafeca8cb6eeb8b44733b05d04c94b2c6f8 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Thu, 29 Nov 2001 00:19:03 +0000 Subject: [PATCH] Yet more MisoUtil pruning. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@670 542714f4-19e9-0310-aa3c-eee0fc999fb1 --- .../com/threerings/miso/util/MisoUtil.java | 37 +------------------ 1 file changed, 1 insertion(+), 36 deletions(-) diff --git a/src/java/com/threerings/miso/util/MisoUtil.java b/src/java/com/threerings/miso/util/MisoUtil.java index 1d4677bc4..74177fd21 100644 --- a/src/java/com/threerings/miso/util/MisoUtil.java +++ b/src/java/com/threerings/miso/util/MisoUtil.java @@ -1,5 +1,5 @@ // -// $Id: MisoUtil.java,v 1.15 2001/11/18 04:09:23 mdb Exp $ +// $Id: MisoUtil.java,v 1.16 2001/11/29 00:19:03 mdb Exp $ package com.threerings.miso.util; @@ -26,39 +26,4 @@ public class MisoUtil { config.bindProperties(CONFIG_KEY, "rsrc/config/miso/miso"); } - - /** - * Creates a Config object that contains - * configuration parameters for miso. - */ - public static Config createConfig () - { - return createConfig(null, null); - } - - /** - * Creates a Config object that contains - * configuration parameters for miso. If key and - * path are non-null, the properties in - * the given file will additionally be bound to the specified - * config key namespace. - */ - public static Config createConfig (String key, String path) - { - Config config = new Config(); - try { - // load the miso config info - bindProperties(config); - - if (key != null && path != null) { - // load the application-specific config info - config.bindProperties(key, path); - } - - } catch (IOException ioe) { - Log.warning("Error loading config information [e=" + ioe + "]."); - } - - return config; - } }