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:
8ee6aad
)
imported properties via -props should never be overwritten
author
jprocter
<Jim Procter>
Fri, 8 Apr 2011 16:10:21 +0000
(16:10 +0000)
committer
jprocter
<Jim Procter>
Fri, 8 Apr 2011 16:10:21 +0000
(16:10 +0000)
src/jalview/bin/Cache.java
patch
|
blob
|
history
diff --git
a/src/jalview/bin/Cache.java
b/src/jalview/bin/Cache.java
index
75fb618
..
f77c2f1
100755
(executable)
--- a/
src/jalview/bin/Cache.java
+++ b/
src/jalview/bin/Cache.java
@@
-227,6
+227,9
@@
public class Cache
{
propertiesFile = System.getProperty("user.home") + File.separatorChar
+ ".jalview_properties";
+ } else {
+ // don't corrupt the file we've been given.
+ propsAreReadOnly = true;
}
try