mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
testng: disable javadoc check for new testng versions
This commit is contained in:
@@ -69,7 +69,7 @@ public class TestNGUtil {
|
||||
private static boolean hasDocTagsSupport() {
|
||||
String testngJarPath = PathUtil.getJarPathForClass(Test.class);
|
||||
String version = JarUtil.getJarAttribute(new File(testngJarPath), Attributes.Name.IMPLEMENTATION_VERSION);
|
||||
return version == null || StringUtil.compareVersionNumbers(version, "5.12") <= 0;
|
||||
return version != null && StringUtil.compareVersionNumbers(version, "5.12") <= 0;
|
||||
}
|
||||
|
||||
public static final String TEST_ANNOTATION_FQN = Test.class.getName();
|
||||
|
||||
Reference in New Issue
Block a user