jdk/src/share/classes/java/util/Optional.java
changeset 19220 d3d40ccb544e
parent 19074 84a8d23e8f32
child 20479 36121d698418
--- a/jdk/src/share/classes/java/util/Optional.java	Tue Aug 06 18:16:02 2013 -0700
+++ b/jdk/src/share/classes/java/util/Optional.java	Tue Aug 06 18:18:12 2013 -0700
@@ -307,7 +307,7 @@
             return false;
         }
 
-        Optional other = (Optional) obj;
+        Optional<?> other = (Optional<?>) obj;
         return Objects.equals(value, other.value);
     }