sebb 2003/10/02 15:23:06
Modified: src/core/org/apache/jmeter/util JMeterUtils.java
Added: src/core/org/apache/jmeter/util JMeterVersion.java
Log:
Moved VERSION to separate file
Revision Changes Path
1.46 +2 -3 jakarta-jmeter/src/core/org/apache/jmeter/util/JMeterUtils.java
Index: JMeterUtils.java
===================================================================
RCS file: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/util/JMeterUtils.java,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- JMeterUtils.java 29 Sep 2003 14:56:01 -0000 1.45
+++ JMeterUtils.java 2 Oct 2003 22:23:06 -0000 1.46
@@ -98,7 +98,6 @@
*/
public class JMeterUtils implements UnitTestManager
{
- private static final String VERSION = "1.9.20030929";
private static PatternCacheLRU patternCache =
new PatternCacheLRU(1000, new Perl5Compiler());
@@ -1020,6 +1019,6 @@
*/
public static String getJMeterVersion()
{
- return VERSION;
+ return JMeterVersion.VERSION;
}
}
1.1
jakarta-jmeter/src/core/org/apache/jmeter/util/JMeterVersion.java
Index: JMeterVersion.java
===================================================================
/*
* Created on 02-Oct-2003
*
* This class defines the JMeter version only (moved from JMeterUtils)
*
* Version changes no longer change the JMeterUtils source file
* - easier to spot when JMeterUtils really changes
* - much smaller to download when the version changes
*
*/
package org.apache.jmeter.util;
/**
* Utility class to define the JMeter Version string
*
* @author sebb AT apache.org
* @version $revision$ $date$
*/
public class JMeterVersion
{
/*
* The VERSION string is updated by the Ant build file, which looks for the
* pattern: VERSION = <quote>.*<quote>
*
*/
static final String VERSION = "1.9.20031002";
private JMeterVersion() // Not instantiable
{
super();
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]