8285263: Minor cleanup could be done in java.security

Reviewed-by: weijun
This commit is contained in:
Mark Powers 2022-06-13 15:13:56 +00:00 committed by Weijun Wang
parent b97a4f6cdc
commit 17695962ac
94 changed files with 480 additions and 601 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2000, 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
@ -302,9 +302,9 @@ public abstract class CertPath implements Serializable {
private static final long serialVersionUID = 3015633072427920915L;
/** The type of {@code Certificate}s in the {@code CertPath}. */
private String type;
private final String type;
/** The encoded form of the {@code CertPath}. */
private byte[] data;
private final byte[] data;
/**
* Creates a {@code CertPathRep} with the specified