File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
java/ql/test/query-tests/Telemetry/SupportedExternalApis Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change
1
+ | java.io.File#File(String) | 2 |
1
2
| java.net.URL#URL(String) | 2 |
2
- | java.io.File#File(String) | 1 |
3
3
| java.io.FileWriter#FileWriter(File) | 1 |
4
4
| java.lang.StringBuilder#append(String) | 1 |
5
5
| java.lang.StringBuilder#toString() | 1 |
6
6
| java.net.URL#openConnection() | 1 |
7
7
| java.net.URL#openStream() | 1 |
8
8
| java.net.URLConnection#getInputStream() | 1 |
9
9
| java.util.Map#put(Object,Object) | 1 |
10
+ | org.apache.commons.io.FileUtils#deleteDirectory(File) | 1 |
Original file line number Diff line number Diff line change 5
5
import java .net .URL ;
6
6
import java .io .File ;
7
7
import java .io .FileWriter ;
8
+ import org .apache .commons .io .FileUtils ;
8
9
9
10
class SupportedExternalApis {
10
11
public static void main (String [] args ) throws Exception {
@@ -22,5 +23,7 @@ public static void main(String[] args) throws Exception {
22
23
23
24
new FileWriter (new File ("foo" )); // supported sink (FileWriter), supported summary (File)
24
25
new URL ("http://foo" ).openStream (); // supported sink (openStream), supported summary (URL)
26
+
27
+ FileUtils .deleteDirectory (new File ("foo" )); // supported negative summary (deleteDirectory), supported summary (File)
25
28
}
26
29
}
You can’t perform that action at this time.
0 commit comments