From 57bda0ba015f9c286d5f45c92f79932206ac3402 Mon Sep 17 00:00:00 2001 From: mdb Date: Thu, 13 Nov 2003 00:11:28 +0000 Subject: [PATCH] These should be static. git-svn-id: https://samskivert.googlecode.com/svn/trunk@1292 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../src/java/com/samskivert/util/PropertiesUtil.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/projects/samskivert/src/java/com/samskivert/util/PropertiesUtil.java b/projects/samskivert/src/java/com/samskivert/util/PropertiesUtil.java index 7805e376..672d5db9 100644 --- a/projects/samskivert/src/java/com/samskivert/util/PropertiesUtil.java +++ b/projects/samskivert/src/java/com/samskivert/util/PropertiesUtil.java @@ -1,5 +1,5 @@ // -// $Id: PropertiesUtil.java,v 1.8 2003/11/13 00:08:11 mdb Exp $ +// $Id: PropertiesUtil.java,v 1.9 2003/11/13 00:11:28 mdb Exp $ // // samskivert library - useful routines for java programs // Copyright (C) 2001 Michael Bayne @@ -126,7 +126,7 @@ public class PropertiesUtil * @return the value of the key in question or null if no such key * exists or an error occurred loading the properties file. */ - public String loadAndGet (File propFile, String key) + public static String loadAndGet (File propFile, String key) { try { Properties props = new Properties(); @@ -144,7 +144,7 @@ public class PropertiesUtil * @return the value of the key in question or null if no such key * exists or an error occurred loading the properties file. */ - public String loadAndGet (String loaderPath, String key) + public static String loadAndGet (String loaderPath, String key) { try { Properties props = ConfigUtil.loadProperties(loaderPath);