8315974: Make fields final in 'com.sun.crypto.provider' package

Reviewed-by: valeriep
This commit is contained in:
Andrey Turbanov 2023-10-18 08:28:23 +00:00
parent 8dd809642e
commit 4e77b3c378
31 changed files with 91 additions and 106 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 2004, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2004, 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
@ -57,7 +57,7 @@ public final class DESedeWrapCipher extends CipherSpi {
/*
* internal cipher object which does the real work.
*/
private FeedbackCipher cipher;
private final FeedbackCipher cipher;
/*
* iv for (re-)initializing the internal cipher object.