Java: Rename Annotation.getAValue predicates for array values

Predicate name could lead to confusion with non-array predicate getAValue()
This commit is contained in:
Marcono1234
2022-03-27 23:25:48 +02:00
committed by Chris Smowton
parent b96061aa7e
commit fd5fdd89d9
6 changed files with 28 additions and 19 deletions

View File

@@ -226,7 +226,7 @@ class TestNGListenersAnnotation extends TestNGAnnotation {
* Gets a listener defined in this annotation.
*/
TestNGListenerImpl getAListener() {
result = this.getAValue("value").(TypeLiteral).getReferencedType()
result = this.getAnArrayValue("value").(TypeLiteral).getReferencedType()
}
}