update lastStamp once we check for version of particular index

This commit is contained in:
Maxim.Mossienko
2012-07-09 21:03:34 +04:00
parent 302c80ac38
commit e88c0d6adf
@@ -102,6 +102,7 @@ public class IndexInfrastructure {
public static boolean versionDiffers(final File versionFile, final int currentIndexVersion) {
try {
ourLastStamp = Math.max(ourLastStamp, versionFile.lastModified());
final DataInputStream in = new DataInputStream(new BufferedInputStream(new FileInputStream(versionFile)));
try {
final int savedIndexVersion = in.readInt();