File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/utils/model-generator
test/utils/model-generator/p Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ string captureSink(TargetAPI api) {
48
48
config .hasFlow ( src , sink ) and
49
49
sinkNode ( sink , kind ) and
50
50
api = src .getEnclosingCallable ( ) and
51
+ not kind = "logging" and
51
52
result = asSinkModel ( api , asInputArgument ( src ) , kind )
52
53
)
53
54
}
Original file line number Diff line number Diff line change 7
7
import java .nio .charset .Charset ;
8
8
import java .nio .file .Files ;
9
9
import java .nio .file .Path ;
10
+ import java .util .logging .Logger ;
10
11
11
12
public class Sinks {
12
13
@@ -25,4 +26,9 @@ public static void main(String[] args) throws IOException {
25
26
String foo = new Sinks ().readUrl (new URL (args [0 ]), Charset .defaultCharset ());
26
27
}
27
28
29
+ public void propagate (String s ) {
30
+ Logger logger = Logger .getLogger (Sinks .class .getSimpleName ());
31
+ logger .warning (s );
32
+ }
33
+
28
34
}
You can’t perform that action at this time.
0 commit comments