Skip to content

Commit 80bba60

Browse files
committed
Java: Fix join-order in SameNameAsSuper.
1 parent 34de400 commit 80bba60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

java/ql/src/Violations of Best Practice/Naming Conventions/SameNameAsSuper.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ from RefType sub, RefType sup
1616
where
1717
sub.fromSource() and
1818
sup = sub.getASupertype() and
19-
sub.getName() = sup.getName()
19+
pragma[only_bind_out](sub.getName()) = pragma[only_bind_out](sup.getName())
2020
select sub, sub.getName() + " has the same name as its supertype $@.", sup, sup.getQualifiedName()

0 commit comments

Comments
 (0)