Remove added test

This commit is contained in:
Juan Martín Sotuyo Dodero 2024-11-15 18:30:03 -03:00
parent b6f45ed618
commit 15cab177d2

View File

@ -2296,21 +2296,4 @@ public class ObtainViaTest {
}
]]></code>
</test-code>
<test-code>
<description>UnusedPrivateMethod #5083 - method reference without target type (3)</description>
<expected-problems>2</expected-problems>
<code><![CDATA[
import java.util.Set;
public class Foo {
private void foo(AnotherUnresolvedType baz) {}
private void foo(UnresolvedType baz) {}
public void bar(Set<SomeOtherUnresolvedType> s) {
s.forEach(this::foo); // Not being able to resolve UnresolvedType and AnotherUnresolvedType means we can't tell which foo is being used here…
}
}
]]></code>
</test-code>
</test-data>