Author: stliu
Date: 2012-03-06 04:20:00 -0500 (Tue, 06 Mar 2012)
New Revision: 21014
Modified:
search/patches/v3_1_1_GA_CP_JBPAPP-8354/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java
Log:
JBPAPP-8354 HSEARCH-440 FSSlaveDirectoryProvider incorrectly creates a subdirectory named
0
Modified:
search/patches/v3_1_1_GA_CP_JBPAPP-8354/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java
===================================================================
---
search/patches/v3_1_1_GA_CP_JBPAPP-8354/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java 2012-03-06
09:10:46 UTC (rev 21013)
+++
search/patches/v3_1_1_GA_CP_JBPAPP-8354/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java 2012-03-06
09:20:00 UTC (rev 21014)
@@ -91,7 +91,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