Skip to content

Commit a5a03cf

Browse files
committed
dealt with ErrorProne warnings
1 parent 9ffcb59 commit a5a03cf

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

core/src/test/java/org/bouncycastle/crypto/test/RomulusTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ private static void checkCipher(final AEADCipher pCipher,
6969
int myRemaining = pCipher.getOutputSize(0);
7070
if (myRemaining + myOutLen < myMaxOutLen)
7171
{
72-
/*********************************************************************/
73-
/* FAILS HERE */
74-
/*********************************************************************/
72+
//
73+
// FAILS HERE */
74+
//
7575
System.out.println("Bad outputLength on encryption for " + pCipher.getAlgorithmName());
7676
}
7777
int myProcessed = pCipher.doFinal(myEncrypted, myOutLen);

tls/src/main/java/org/bouncycastle/tls/TlsUtils.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1557,6 +1557,7 @@ static void verify12SignatureAlgorithm(SignatureAndHashAlgorithm signatureAlgori
15571557
/**
15581558
* @deprecated Will be removed.
15591559
*/
1560+
@Deprecated
15601561
public static void verifySupportedSignatureAlgorithm(Vector supportedSignatureAlgorithms,
15611562
SignatureAndHashAlgorithm signatureAlgorithm) throws IOException
15621563
{

0 commit comments

Comments
 (0)