Skip to content

Commit 1d916a2

Browse files
Jami CogswellJami Cogswell
authored andcommitted
Java: clean up
1 parent 0c22d68 commit 1d916a2

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

java/ql/test/ext/TestModels/Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ void sink(Object o) { }
88
Object source() { return null; }
99

1010
public void test() throws Exception {
11+
1112
Exception e1 = new RuntimeException((String)source());
1213
sink((String)e1.getMessage()); // $hasValueFlow
1314

@@ -40,6 +41,5 @@ public void test() throws Exception {
4041
ResultSet rs = (ResultSet)source();
4142
sink(rs.getString("")); // $hasTaintFlow
4243

43-
4444
}
4545
}

java/ql/test/ext/TopJdkApis/TopJdkApis.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** Provides a class to identify Top JDK APIs. */
1+
/** Provides classes and predicates for working with Top JDK APIs. */
22

33
import java
44
private import semmle.code.java.dataflow.FlowSummary

java/ql/test/ext/TopJdkApis/TopJdkApisTest.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import java
2-
import semmle.code.java.dataflow.ExternalFlow
32
import TopJdkApis
43

54
from string apiName, string message

0 commit comments

Comments
 (0)