git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3235 added the saveProperties call to setProperty method
[jalview.git]
/
src
/
jalview
/
bin
/
Cache.java
diff --git
a/src/jalview/bin/Cache.java
b/src/jalview/bin/Cache.java
index
f40fc61
..
6f9614e
100755
(executable)
--- a/
src/jalview/bin/Cache.java
+++ b/
src/jalview/bin/Cache.java
@@
-638,9
+638,7
@@
public class Cache
oldValue = applicationProperties.setProperty(key, obj);
if (!propsAreReadOnly)
{
oldValue = applicationProperties.setProperty(key, obj);
if (!propsAreReadOnly)
{
- FileOutputStream out = new FileOutputStream(propertiesFile);
- applicationProperties.store(out, "---JalviewX Properties File---");
- out.close();
+ saveProperties();
}
} catch (Exception ex)
{
}
} catch (Exception ex)
{