mirror of
https://github.com/github/codeql.git
synced 2026-04-26 09:15:12 +02:00
Java: Update expected output of model generation.
This commit is contained in:
@@ -66,7 +66,6 @@ public class Sinks {
|
||||
}
|
||||
|
||||
// Not a new sink because a simple type is used in an intermediate step
|
||||
// SPURIOUS-sink=p;Sinks;true;wrapSinkSimpleType;(String);;Argument[0];test-sink;df-generated
|
||||
// neutral=p;Sinks;wrapSinkSimpleType;(String);summary;df-generated
|
||||
public void wrapSinkSimpleType(String s) {
|
||||
Boolean b = s == "hello";
|
||||
|
||||
@@ -45,7 +45,6 @@ public class Sources {
|
||||
}
|
||||
|
||||
// Not a new source because a simple type is used in an intermediate step
|
||||
// SPURIOUS-source=p;Sources;true;wrapSourceGetBool;();;ReturnValue;test-source;df-generated
|
||||
// neutral=p;Sources;wrapSourceGetBool;();summary;df-generated
|
||||
public Boolean wrapSourceGetBool() {
|
||||
String s = source();
|
||||
|
||||
Reference in New Issue
Block a user