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 |
12| java.net.URL#URL(String) | 2 |
2- | java.io.File#File(String) | 1 |
33| java.io.FileWriter#FileWriter(File) | 1 |
44| java.lang.StringBuilder#append(String) | 1 |
55| java.lang.StringBuilder#toString() | 1 |
66| java.net.URL#openConnection() | 1 |
77| java.net.URL#openStream() | 1 |
88| java.net.URLConnection#getInputStream() | 1 |
99| 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 55import java .net .URL ;
66import java .io .File ;
77import java .io .FileWriter ;
8+ import org .apache .commons .io .FileUtils ;
89
910class SupportedExternalApis {
1011 public static void main (String [] args ) throws Exception {
@@ -22,5 +23,7 @@ public static void main(String[] args) throws Exception {
2223
2324 new FileWriter (new File ("foo" )); // supported sink (FileWriter), supported summary (File)
2425 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)
2528 }
2629}
You can’t perform that action at this time.
0 commit comments