X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fbin%2FCache.java;h=3cf62c6c8656b94a45e2e8d78ea83cd9876d0ceb;hb=5f7d80cd8b01e051a6175b0ce8db0ad94d73df2f;hp=a5231e1f090fab17cfedcbfded8d7564520828f9;hpb=0d79fdf165b3aa194d179e502b9f3c8e635ecd65;p=jalview.git 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; + }