mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8315974: Make fields final in 'com.sun.crypto.provider' package
Reviewed-by: valeriep
This commit is contained in:
parent
8dd809642e
commit
4e77b3c378
31 changed files with 91 additions and 106 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 1998, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1998, 2023, 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
|
||||
|
@ -29,9 +29,7 @@ import java.security.*;
|
|||
import java.security.spec.*;
|
||||
import java.util.Arrays;
|
||||
|
||||
import sun.security.util.*;
|
||||
import javax.crypto.*;
|
||||
import javax.crypto.spec.*;
|
||||
import javax.crypto.BadPaddingException;
|
||||
|
||||
/**
|
||||
|
@ -57,7 +55,7 @@ public final class BlowfishCipher extends CipherSpi {
|
|||
/*
|
||||
* internal CipherCore object which does the real work.
|
||||
*/
|
||||
private CipherCore core = null;
|
||||
private final CipherCore core;
|
||||
|
||||
/**
|
||||
* Creates an instance of Blowfish cipher with default ECB mode and
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue