Author: stliu
Date: 2012-03-06 04:45:32 -0500 (Tue, 06 Mar 2012)
New Revision: 21016
Modified:
search/patches/v3_1_1_GA_CP03_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_CP03_JBPAPP-8354/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java
===================================================================
---
search/patches/v3_1_1_GA_CP03_JBPAPP-8354/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java 2012-03-06
09:29:38 UTC (rev 21015)
+++
search/patches/v3_1_1_GA_CP03_JBPAPP-8354/src/main/java/org/hibernate/search/store/FSSlaveDirectoryProvider.java 2012-03-06
09:45:32 UTC (rev 21016)
@@ -92,7 +92,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