Skip to content

Commit 2b5e3ae

Browse files
committed
change tabs to spaces
1 parent 0c46e5c commit 2b5e3ae

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

javascript/ql/src/Declarations/SuspiciousMethodNameDeclaration.ql

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,14 @@ where
3434

3535
// Cases to ignore.
3636
not (
37-
// Assume that a "new" method is intentional if the class has an explicit constructor.
38-
name = "new" and
39-
container instanceof ClassDefinition and
40-
exists(ConstructorDeclaration constructor |
37+
// Assume that a "new" method is intentional if the class has an explicit constructor.
38+
name = "new" and
39+
container instanceof ClassDefinition and
40+
exists(ConstructorDeclaration constructor |
4141
container.getMember("constructor") = constructor and
4242
not constructor.isSynthetic()
4343
)
44-
or
44+
or
4545
// Explicitly declared static methods are fine.
4646
container instanceof ClassDefinition and
4747
member.isStatic()

0 commit comments

Comments
 (0)