Author: hardy.ferentschik
Date: 2010-01-08 15:10:19 -0500 (Fri, 08 Jan 2010)
New Revision: 18461
Modified:
search/trunk/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java
Log:
HSEARCH-440, HSEARCH-321
Modified:
search/trunk/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java
===================================================================
---
search/trunk/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java 2010-01-08
19:28:01 UTC (rev 18460)
+++
search/trunk/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java 2010-01-08
20:10:19 UTC (rev 18461)
@@ -115,7 +115,7 @@
//no default
log.debug( "Setting directory 1 as current" );
currentToBe = 1;
- File destinationFile = new File( indexDir, Integer.valueOf( readCurrentState
).toString() );
+ File destinationFile = new File( indexDir, Integer.valueOf( currentToBe ).toString()
);
int sourceCurrent;
if ( new File( sourceIndexDir, "current1" ).exists() ) {
sourceCurrent = 1;
Show replies by date