hardcode Guava Preconditions.checkNotNull contract

This commit is contained in:
peter
2014-07-18 09:14:04 +02:00
parent 6d9cf39e0e
commit 3eea5bc05c
3 changed files with 33 additions and 3 deletions
@@ -0,0 +1,11 @@
import org.jetbrains.annotations.Nullable;
class Contracts {
private void check(@Nullable Object o) {
com.google.common.base.Preconditions.checkNotNull(o);
System.out.println(o.hashCode());
}
}