Permalink
Browse files

Fix issue 82, data duplication when syncing new changes

  • Loading branch information...
1 parent 977a2f8 commit 3a800dd2f7c26304e54d813f03eab13dad60e333 @matburt committed May 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/com/matburt/mobileorg/Synchronizers/Synchronizer.java
@@ -88,7 +88,7 @@ BufferedWriter getWriteHandle(String localRelPath) throws ReportableError {
FileOutputStream fs;
try {
String normalized = localRelPath.replace("/", "_");
- fs = this.rootContext.openFileOutput(normalized, Context.MODE_APPEND);
+ fs = this.rootContext.openFileOutput(normalized, Context.MODE_PRIVATE);
writer = new BufferedWriter(new OutputStreamWriter(fs));
}
catch (java.io.FileNotFoundException e) {

0 comments on commit 3a800dd

Please sign in to comment.