jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1336914 - /jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java
Date Thu, 10 May 2012 21:52:40 GMT
Author: sebb
Date: Thu May 10 21:52:39 2012
New Revision: 1336914

URL: http://svn.apache.org/viewvc?rev=1336914&view=rev
Log:
Restore saveservice.properties version check

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java?rev=1336914&r1=1336913&r2=1336914&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/save/SaveService.java Thu May 10 21:52:39 2012
@@ -174,8 +174,8 @@ public class SaveService {
     private static final String PROPVERSION = "2.3";// Expected version $NON-NLS-1$
 
     // Internal information only
-    private static String fileVersion = ""; // read from properties file// $NON-NLS-1$
-//    private static final String FILEVERSION = "958773"; // Expected value $NON-NLS-1$
+    private static String fileVersion = ""; // read from saveservice.properties file// $NON-NLS-1$
+    private static final String FILEVERSION = "1332608"; // Expected value $NON-NLS-1$
     private static String fileEncoding = ""; // read from properties file// $NON-NLS-1$
 
     static {
@@ -400,7 +400,7 @@ public class SaveService {
     }
 
     static boolean checkFileVersion(){
-        return true; // SaveService.FILEVERSION.equals(SaveService.fileVersion);
+        return SaveService.FILEVERSION.equals(SaveService.fileVersion);
     }
 
     // Allow test code to check for spurious class references



Mime
View raw message