Skip to content

Commit e7eb1de

Browse files
committed
Switch to new commons-lang API
1 parent adf11e5 commit e7eb1de

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/test/java/org/junit/support/testng/engine/TestContext.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@
1010

1111
package org.junit.support.testng.engine;
1212

13-
import static org.apache.commons.lang3.StringUtils.removeEnd;
14-
13+
import org.apache.commons.lang3.Strings;
1514
import org.apache.maven.artifact.versioning.ComparableVersion;
1615

1716
class TestContext {
1817

1918
static ComparableVersion testNGVersion() {
20-
return new ComparableVersion(removeEnd(System.getProperty("testng.version", "7.10.2"), "-SNAPSHOT"));
19+
return new ComparableVersion(Strings.CS.removeEnd(System.getProperty("testng.version", "7.10.2"), "-SNAPSHOT"));
2120
}
2221
}

0 commit comments

Comments
 (0)