diff options
author | Carlo Zancanaro <carlo@zancanaro.id.au> | 2015-07-06 22:46:02 +1000 |
---|---|---|
committer | Carlo Zancanaro <carlo@zancanaro.id.au> | 2015-07-06 22:46:02 +1000 |
commit | a7b074875f241d98877de51a93717d56cf2d19e4 (patch) | |
tree | 7b5397d3955cbe6bc6a6a2669f9191b657e48591 /src/test | |
parent | 2348f721ba7475b65afeefb108012c564e5653ce (diff) |
Fix the warnings from the previous commit
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/java/au/id/zancanaro/javacheck/object/SubObject.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/au/id/zancanaro/javacheck/object/SubObject.java b/src/test/java/au/id/zancanaro/javacheck/object/SubObject.java index 1e49cfe..11e5622 100644 --- a/src/test/java/au/id/zancanaro/javacheck/object/SubObject.java +++ b/src/test/java/au/id/zancanaro/javacheck/object/SubObject.java @@ -35,7 +35,7 @@ public class SubObject<T> { public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; - SubObject subObject = (SubObject) o; + SubObject<?> subObject = (SubObject<?>) o; return obj.equals(subObject.obj) && value.equals(subObject.value); } |