From c0e090c6af2bf9b9b2ab721695e54a322dd82c02 Mon Sep 17 00:00:00 2001 From: amwaterhouse Date: Tue, 8 Feb 2005 18:40:54 +0000 Subject: [PATCH] Set property returns key --- src/jalview/bin/Cache.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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; + } -- 1.7.10.2