Author: areshetnyak
Date: 2011-01-13 04:10:00 -0500 (Thu, 13 Jan 2011)
New Revision: 3799
Modified:
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/backup/impl/fs/IncrementalBackupJob.java
Log:
EXOJCR-1118 : The problem with thread safe in IncrementalBackupJob was fixed.
Modified:
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/backup/impl/fs/IncrementalBackupJob.java
===================================================================
---
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/backup/impl/fs/IncrementalBackupJob.java 2011-01-13
08:58:58 UTC (rev 3798)
+++
jcr/trunk/exo.jcr.component.ext/src/main/java/org/exoplatform/services/jcr/ext/backup/impl/fs/IncrementalBackupJob.java 2011-01-13
09:10:00 UTC (rev 3799)
@@ -124,7 +124,8 @@
}
}
- public void writeExternal(ObjectOutputStream out, TransactionChangesLog changesLog,
FileCleaner fileCleaner)
+ public synchronized void writeExternal(ObjectOutputStream out, TransactionChangesLog
changesLog,
+ FileCleaner fileCleaner)
throws IOException
{