mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
Autoformat ql
This commit is contained in:
@@ -22,7 +22,7 @@ private class MethodAccessFileGetCanonicalPath extends MethodAccess {
|
||||
MethodAccessFileGetCanonicalPath() { this.getMethod() instanceof MethodFileGetCanonicalPath }
|
||||
}
|
||||
|
||||
private abstract class FileSeparatorExpr extends Expr { }
|
||||
abstract private class FileSeparatorExpr extends Expr { }
|
||||
|
||||
private class SystemPropFileSeparatorExpr extends FileSeparatorExpr {
|
||||
SystemPropFileSeparatorExpr() { this = getSystemProperty("file.separator") }
|
||||
|
||||
@@ -3,7 +3,7 @@ import TestUtilities.InlineFlowTest
|
||||
import semmle.code.java.security.PartialPathTraversalQuery
|
||||
|
||||
class TestRemoteSource extends RemoteFlowSource {
|
||||
TestRemoteSource() { this.asParameter().hasName(["dir", "path"]) }
|
||||
TestRemoteSource() { this.asParameter().hasName(["dir", "path"]) }
|
||||
|
||||
override string getSourceType() { result = "TestSource" }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user