Skip to content

Commit 79d1deb

Browse files
Update python/ql/src/Classes/SubclassShadowing/SubclassShadowing.ql
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 71a6b22 commit 79d1deb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/ql/src/Classes/SubclassShadowing/SubclassShadowing.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ where
6464
if isProperty(shadowed)
6565
then
6666
// it's not a setter, so it's a read-only property
67-
extra = " (read-only property may cause an error if written to in the superclass.)"
67+
extra = " (read-only property may cause an error if written to in the superclass)"
6868
else extra = ""
6969
)
7070
select shadowed, "This method is shadowed by $@ in superclass $@." + extra, write,

0 commit comments

Comments
 (0)