summaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-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);
}