Skip to content

Commit 33ba814

Browse files
committed
fixed mixed tabs and spaces
1 parent d228bd0 commit 33ba814

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • java/ql/test/query-tests/NumberFormatException

java/ql/test/query-tests/NumberFormatException/Test.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import java.io.*;
22

33
public class Test {
4-
public static void main(String[] args) {
4+
public static void main(String[] args) {
55
test1();
66
test2();
77
test3();
@@ -49,7 +49,7 @@ static void test1() {
4949
Double.valueOf("2.7818281828");
5050
new Double("2.7818281828");
5151
new Double(2.7818281828); // don't flag: wrong constructor
52-
}
52+
}
5353

5454
static void test2() {
5555
// Don't flag any of these. The exception is caught.
@@ -93,7 +93,7 @@ static void test2() {
9393
catch (NumberFormatException e) {
9494
// parse error
9595
}
96-
}
96+
}
9797

9898
static void test3() throws NumberFormatException {
9999
// Don't flag any of these: the exception is explcitly declared
@@ -132,5 +132,5 @@ static void test3() throws NumberFormatException {
132132
Double.parseDouble("2.7818281828");
133133
Double.valueOf("2.7818281828");
134134
new Double("2.7818281828");
135-
}
135+
}
136136
}

0 commit comments

Comments
 (0)