jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1552440 - /jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java
Date Thu, 19 Dec 2013 21:47:11 GMT
Author: pmouawad
Date: Thu Dec 19 21:47:10 2013
New Revision: 1552440

URL: http://svn.apache.org/r1552440
Log:
Remove main method

Modified:
    jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java

Modified: jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java?rev=1552440&r1=1552439&r2=1552440&view=diff
==============================================================================
--- jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java (original)
+++ jmeter/trunk/test/src/org/apache/jmeter/JMeterVersionTest.java Thu Dec 19 21:47:10 2013
@@ -94,16 +94,6 @@ public class JMeterVersionTest extends J
         propNames.remove("commons-lang");
     }
 
-    public static void main(String[] args) {
-        String line = "<classpathentry kind=\"lib\" path=\"lib/mail-1.5.0-b01.jar\"/>";
-        final Pattern p = Pattern.compile("\\s+<classpathentry kind=\"lib\" path=\"lib/(?:api/)?(.+)-([^-]+)\\.jar\"/>");
-        final Matcher m = p.matcher(line);
-        if (m.matches()) {
-            String jar = m.group(1);
-            String version = m.group(2);
-            System.out.println(jar);
-        }
-    }
     public void testEclipse() throws Exception {
         final BufferedReader eclipse = new BufferedReader(
                 new FileReader(getFileFromHome("eclipse.classpath"))); // assume default
charset is OK here



Mime
View raw message