summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorCarlo Zancanaro <carlo@zancanaro.id.au>2015-07-06 22:46:02 +1000
committerCarlo Zancanaro <carlo@zancanaro.id.au>2015-07-06 22:46:02 +1000
commita7b074875f241d98877de51a93717d56cf2d19e4 (patch)
tree7b5397d3955cbe6bc6a6a2669f9191b657e48591 /src/test
parent2348f721ba7475b65afeefb108012c564e5653ce (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.java2
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);
}