File tree Expand file tree Collapse file tree
src/utils/model-generator
test/utils/model-generator/p Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ string captureSink(TargetAPI api) {
4848 config .hasFlow ( src , sink ) and
4949 sinkNode ( sink , kind ) and
5050 api = src .getEnclosingCallable ( ) and
51+ not kind = "logging" and
5152 result = asSinkModel ( api , asInputArgument ( src ) , kind )
5253 )
5354}
Original file line number Diff line number Diff line change 77import java .nio .charset .Charset ;
88import java .nio .file .Files ;
99import java .nio .file .Path ;
10+ import java .util .logging .Logger ;
1011
1112public class Sinks {
1213
@@ -25,4 +26,9 @@ public static void main(String[] args) throws IOException {
2526 String foo = new Sinks ().readUrl (new URL (args [0 ]), Charset .defaultCharset ());
2627 }
2728
29+ public void propagate (String s ) {
30+ Logger logger = Logger .getLogger (Sinks .class .getSimpleName ());
31+ logger .warning (s );
32+ }
33+
2834}
You can’t perform that action at this time.
0 commit comments