git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b100e1f
)
Set property returns key
author
amwaterhouse
<Andrew Waterhouse>
Tue, 8 Feb 2005 18:40:54 +0000
(18:40 +0000)
committer
amwaterhouse
<Andrew Waterhouse>
Tue, 8 Feb 2005 18:40:54 +0000
(18:40 +0000)
src/jalview/bin/Cache.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Cache.java
b/src/jalview/bin/Cache.java
index
a5231e1
..
3cf62c6
100755
(executable)
--- a/
src/jalview/bin/Cache.java
+++ b/
src/jalview/bin/Cache.java
@@
-32,11
+32,7
@@
public class Cache
in.close();
\r
}
\r
catch (Exception ex)
\r
- {
\r
- ex.printStackTrace();
\r
- }
\r
-
\r
-
\r
+ { }
\r
}
\r
\r
public static String getProperty(String key)
\r
@@
-44,7
+40,7
@@
public class Cache
return applicationProperties.getProperty(key);
\r
}
\r
\r
- public static void setProperty(String key, String obj)
\r
+ public static String setProperty(String key, String obj)
\r
{
\r
try
\r
{
\r
@@
-59,6
+55,8
@@
public class Cache
catch (Exception ex)
\r
{}
\r
\r
+ return obj;
\r
+
\r
}
\r
\r
\r