Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 14fa6d4

Browse files
committed
Avoid deprecated Annotation.getAValue
1 parent 0ab5d46 commit 14fa6d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • java/ql/test/library-tests/annotation-arrays

java/ql/test/library-tests/annotation-arrays/test.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ from Field f, Annotation ann, Expr value, Expr valueChild
44
where
55
f.getDeclaringType().fromSource() and
66
ann = f.getAnAnnotation() and
7-
value = ann.getAValue() and
7+
value = ann.getValue(_) and
88
valueChild.getParent() = value
99
select f, ann, value, valueChild

0 commit comments

Comments
 (0)