mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 23:34:52 +02:00
8285263: Minor cleanup could be done in java.security
Reviewed-by: weijun
This commit is contained in:
parent
b97a4f6cdc
commit
17695962ac
94 changed files with 480 additions and 601 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2015, 2022, 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
|
||||
|
@ -55,7 +55,7 @@ public final class URICertStoreParameters implements CertStoreParameters {
|
|||
private final URI uri;
|
||||
|
||||
/*
|
||||
* Hash code for this parameters.
|
||||
* Hash code for this parameters object.
|
||||
*/
|
||||
private int myhash = -1;
|
||||
|
||||
|
@ -103,7 +103,7 @@ public final class URICertStoreParameters implements CertStoreParameters {
|
|||
* Returns a hash code value for this parameters object.
|
||||
* The hash code is generated using the URI supplied at construction.
|
||||
*
|
||||
* @return a hash code value for this parameters.
|
||||
* @return a hash code value for this parameters object.
|
||||
*/
|
||||
@Override
|
||||
public int hashCode() {
|
||||
|
@ -118,7 +118,7 @@ public final class URICertStoreParameters implements CertStoreParameters {
|
|||
* Two URICertStoreParameters are considered equal if the URIs used
|
||||
* to construct them are equal.
|
||||
*
|
||||
* @param p the object to test for equality with this parameters.
|
||||
* @param p the object to test for equality with this parameters object.
|
||||
*
|
||||
* @return true if the specified object is equal to this parameters object.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue