Skip to content

Commit 1c6642f

Browse files
committed
Format QL
1 parent 80f5b97 commit 1c6642f

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

java/ql/test/library-tests/literals/floatLiterals/floatLiterals.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import semmle.code.java.Expr
22

33
class SrcFloatingPointLiteral extends FloatLiteral {
4-
SrcFloatingPointLiteral() {
5-
this.getCompilationUnit().fromSource()
6-
}
4+
SrcFloatingPointLiteral() { this.getCompilationUnit().fromSource() }
75
}
86

97
from FloatLiteral lit

java/ql/test/library-tests/literals/integerLiterals/integerLiterals.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import semmle.code.java.Expr
22

33
class SrcIntegerLiteral extends IntegerLiteral {
4-
SrcIntegerLiteral() {
5-
this.getCompilationUnit().fromSource()
6-
}
4+
SrcIntegerLiteral() { this.getCompilationUnit().fromSource() }
75
}
86

97
from SrcIntegerLiteral lit

java/ql/test/library-tests/literals/literals-numeric/negativeNumericLiterals.ql

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import java
22

33
class SrcLiteral extends Literal {
4-
SrcLiteral() {
5-
this.getCompilationUnit().fromSource()
6-
}
4+
SrcLiteral() { this.getCompilationUnit().fromSource() }
75
}
86

97
from SrcLiteral l

0 commit comments

Comments
 (0)