Format QL

This commit is contained in:
Chris Smowton
2022-07-28 14:17:20 +01:00
parent 80f5b977d6
commit 1c6642f3fb
3 changed files with 3 additions and 9 deletions

View File

@@ -1,9 +1,7 @@
import semmle.code.java.Expr
class SrcFloatingPointLiteral extends FloatLiteral {
SrcFloatingPointLiteral() {
this.getCompilationUnit().fromSource()
}
SrcFloatingPointLiteral() { this.getCompilationUnit().fromSource() }
}
from FloatLiteral lit

View File

@@ -1,9 +1,7 @@
import semmle.code.java.Expr
class SrcIntegerLiteral extends IntegerLiteral {
SrcIntegerLiteral() {
this.getCompilationUnit().fromSource()
}
SrcIntegerLiteral() { this.getCompilationUnit().fromSource() }
}
from SrcIntegerLiteral lit

View File

@@ -1,9 +1,7 @@
import java
class SrcLiteral extends Literal {
SrcLiteral() {
this.getCompilationUnit().fromSource()
}
SrcLiteral() { this.getCompilationUnit().fromSource() }
}
from SrcLiteral l