jdk/src/java.base/share/classes/sun/security/x509/OtherName.java
changeset 31426 9cd672654f97
parent 30374 2abaf49910ea
--- a/jdk/src/java.base/share/classes/sun/security/x509/OtherName.java	Mon Jun 29 14:59:20 2015 -0700
+++ b/jdk/src/java.base/share/classes/sun/security/x509/OtherName.java	Mon Jun 29 16:36:44 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1998, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -176,7 +176,7 @@
             return false;
         }
         OtherName otherOther = (OtherName)other;
-        if (!(otherOther.oid.equals((Object)oid))) {
+        if (!(otherOther.oid.equals(oid))) {
             return false;
         }
         GeneralNameInterface otherGNI = null;