Skip to content

Commit e9df675

Browse files
committed
Autoformat ql
1 parent 09e4c6b commit e9df675

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

java/ql/lib/semmle/code/java/security/PartialPathTraversal.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private class MethodAccessFileGetCanonicalPath extends MethodAccess {
2222
MethodAccessFileGetCanonicalPath() { this.getMethod() instanceof MethodFileGetCanonicalPath }
2323
}
2424

25-
private abstract class FileSeparatorExpr extends Expr { }
25+
abstract private class FileSeparatorExpr extends Expr { }
2626

2727
private class SystemPropFileSeparatorExpr extends FileSeparatorExpr {
2828
SystemPropFileSeparatorExpr() { this = getSystemProperty("file.separator") }

java/ql/test/query-tests/security/CWE-023/semmle/tests/PartialPathTraversalFromRemoteTest.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import TestUtilities.InlineFlowTest
33
import semmle.code.java.security.PartialPathTraversalQuery
44

55
class TestRemoteSource extends RemoteFlowSource {
6-
TestRemoteSource() { this.asParameter().hasName(["dir", "path"]) }
6+
TestRemoteSource() { this.asParameter().hasName(["dir", "path"]) }
77

88
override string getSourceType() { result = "TestSource" }
99
}

0 commit comments

Comments
 (0)