git://source.jalview.org
/
vamsas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
locking for windows (XP) partly debugged. ClientsFileTest watchers do not behave...
[vamsas.git]
/
src
/
org
/
vamsas
/
client
/
simpleclient
/
SimpleClientAppdata.java
diff --git
a/src/org/vamsas/client/simpleclient/SimpleClientAppdata.java
b/src/org/vamsas/client/simpleclient/SimpleClientAppdata.java
index
a2d8912
..
95362aa
100644
(file)
--- a/
src/org/vamsas/client/simpleclient/SimpleClientAppdata.java
+++ b/
src/org/vamsas/client/simpleclient/SimpleClientAppdata.java
@@
-343,8
+343,7
@@
public class SimpleClientAppdata implements IClientAppdata {
apdfile.lockFile();
// LATER: Refactor these local AppDatastream IO stuff to their own class.
JarOutputStream dstrm =
apdfile.lockFile();
// LATER: Refactor these local AppDatastream IO stuff to their own class.
JarOutputStream dstrm =
- new JarOutputStream(
- new BufferedOutputStream(new java.io.FileOutputStream(apdfile.sessionFile)));
+ new JarOutputStream(apdfile.fileLock.getBufferedOutputStream(true));
if (!clientOrUser) {
newAppDataStream = dstrm;
} else {
if (!clientOrUser) {
newAppDataStream = dstrm;
} else {