From ae6908dca17eb7f7b984ca9943b92fd67e7d55c0 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Tue, 26 May 2020 21:20:01 +0200 Subject: [PATCH] testng: cleanup warnings GitOrigin-RevId: c9e1f96d30d9947d8a20d42828faf5654418bcd6 --- plugins/testng/resources/messages/TestngBundle.properties | 2 +- .../testng/src/com/theoryinpractice/testng/util/TestNGUtil.java | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/testng/resources/messages/TestngBundle.properties b/plugins/testng/resources/messages/TestngBundle.properties index 71cc8725353f..075dbed23dc5 100644 --- a/plugins/testng/resources/messages/TestngBundle.properties +++ b/plugins/testng/resources/messages/TestngBundle.properties @@ -55,7 +55,7 @@ testng.select.properties.file=Select .properties file for test properties testng.suite.browser.select.suite=Select Suite testng.suite.browser.select.xml.or.yaml.suite.file=Please select the xml or yaml suite file testng.util.found.test.class=Found test class {0} -testng.util.searching.test.progress.title=Searching For Tests... +testng.util.searching.test.progress.title=Searching for tests... testng.util.unable.to.convert=Unable to Convert. testng.util.will.be.added.to.module.classpath=TestNG will be added to module classpath diff --git a/plugins/testng/src/com/theoryinpractice/testng/util/TestNGUtil.java b/plugins/testng/src/com/theoryinpractice/testng/util/TestNGUtil.java index d2e644fcabf7..263ca78b1b03 100644 --- a/plugins/testng/src/com/theoryinpractice/testng/util/TestNGUtil.java +++ b/plugins/testng/src/com/theoryinpractice/testng/util/TestNGUtil.java @@ -160,7 +160,6 @@ public class TestNGUtil { for (String qn : CONFIG_ANNOTATIONS_FQN) { if (qName.equals(qn)) return true; } - if (qName.equals(TEST_ANNOTATION_FQN)) return true; for (String qn : CONFIG_ANNOTATIONS_FQN) { if (qName.equals(qn)) return true; }