From: <dme...@us...> - 2014-04-14 09:59:16
|
Revision: 8115 http://sourceforge.net/p/bigdata/code/8115 Author: dmekonnen Date: 2014-04-14 09:59:13 +0000 (Mon, 14 Apr 2014) Log Message: ----------- update at line 1515 so that the "if" test logic matches the error message on line 1516. Note that the test in HARestore.java (563) prevents the SnapshotManager test from failing. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/bigdata-jini/src/java/com/bigdata/journal/jini/ha/SnapshotManager.java Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata-jini/src/java/com/bigdata/journal/jini/ha/SnapshotManager.java =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata-jini/src/java/com/bigdata/journal/jini/ha/SnapshotManager.java 2014-04-14 09:52:38 UTC (rev 8114) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata-jini/src/java/com/bigdata/journal/jini/ha/SnapshotManager.java 2014-04-14 09:59:13 UTC (rev 8115) @@ -1512,7 +1512,7 @@ if (!src.exists()) throw new FileNotFoundException(src.getAbsolutePath()); - if (!dst.exists() && dst.length() == 0) + if (dst.exists() && dst.length() != 0) throw new IOException("Output file exists and is not empty: " + dst.getAbsolutePath()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |