Java: Update test expectations for Object.clone().

This commit is contained in:
Anders Schack-Mulligen
2024-06-26 11:30:10 +02:00
parent 12d6875cc4
commit dc64a08467
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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; }
}
}