jdk/src/java.base/share/classes/java/security/Identity.java
changeset 31695 4d10942c9a7b
parent 30033 b9c86c17164a
child 39337 ac7e4f1d69db
--- a/jdk/src/java.base/share/classes/java/security/Identity.java	Tue Mar 10 14:00:05 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/security/Identity.java	Mon Apr 06 20:24:27 2015 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 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
@@ -261,7 +261,7 @@
         certificates.addElement(certificate);
     }
 
-    private boolean keyEquals(Key aKey, Key anotherKey) {
+    private boolean keyEquals(PublicKey aKey, PublicKey anotherKey) {
         String aKeyFormat = aKey.getFormat();
         String anotherKeyFormat = anotherKey.getFormat();
         if ((aKeyFormat == null) ^ (anotherKeyFormat == null))