mirror of
https://github.com/github/codeql.git
synced 2026-04-25 00:35:20 +02:00
Java: Update test expectations for Object.clone().
This commit is contained in:
@@ -84,7 +84,7 @@ public class JakartaRsFlow {
|
||||
sink(Response.noContent().entity(taint())); // $ hasTaintFlow
|
||||
sink(ResponseBuilderSource.taint().allow(new HashSet<String>())); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().cacheControl(new CacheControl())); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().clone()); // $ hasTaintFlow
|
||||
sink(ResponseBuilderSource.taint().clone()); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().contentLocation(new URI(""))); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().cookie()); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().encoding("")); // $ hasValueFlow
|
||||
|
||||
@@ -84,7 +84,7 @@ public class JaxRsFlow {
|
||||
sink(Response.noContent().entity(taint())); // $ hasTaintFlow
|
||||
sink(ResponseBuilderSource.taint().allow(new HashSet<String>())); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().cacheControl(new CacheControl())); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().clone()); // $ hasTaintFlow
|
||||
sink(ResponseBuilderSource.taint().clone()); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().contentLocation(new URI(""))); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().cookie()); // $ hasValueFlow
|
||||
sink(ResponseBuilderSource.taint().encoding("")); // $ hasValueFlow
|
||||
@@ -416,4 +416,4 @@ public class JaxRsFlow {
|
||||
|
||||
class Dummy {
|
||||
private static Set<String> foo() { return null; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user