☰
Debian Codegraph
@
3.2.0+ds-4
/
/
checker
/
tests
/
nullness
/
generics
/
Issue422.java
☽
☼
checker/tests/nullness/generics/Issue422.java
code
plain
raw
GPL-2.0-with-classpath-exception
2004-2020 Checker Framework developers; 2004-2020 Michael Ernst <
[email protected]
>; 2004-2020 Werner M. Dietl <
[email protected]
>; 2004-2020 Suzanne Millstein <
[email protected]
>
debian/copyright
1
public class Issue422 {
2
public <T> boolean f(T newValue, T oldValue) {
3
return (oldValue instanceof Boolean || oldValue instanceof Integer)
4
&& oldValue.equals(newValue);
5
}
6
}