Remove added test
This commit is contained in:
parent
b6f45ed618
commit
15cab177d2
@ -2296,21 +2296,4 @@ public class ObtainViaTest {
|
|||||||
}
|
}
|
||||||
]]></code>
|
]]></code>
|
||||||
</test-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>
|
</test-data>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user