From: amwaterhouse Date: Tue, 8 Feb 2005 18:40:54 +0000 (+0000) Subject: Set property returns key X-Git-Tag: Release_2_0~689 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=c0e090c6af2bf9b9b2ab721695e54a322dd82c02;p=jalview.git Set property returns key --- diff --git a/src/jalview/bin/Cache.java b/src/jalview/bin/Cache.java index a5231e1..3cf62c6 100755 --- a/src/jalview/bin/Cache.java +++ b/src/jalview/bin/Cache.java @@ -32,11 +32,7 @@ public class Cache in.close(); } catch (Exception ex) - { - ex.printStackTrace(); - } - - + { } } public static String getProperty(String key) @@ -44,7 +40,7 @@ public class Cache return applicationProperties.getProperty(key); } - public static void setProperty(String key, String obj) + public static String setProperty(String key, String obj) { try { @@ -59,6 +55,8 @@ public class Cache catch (Exception ex) {} + return obj; + }