Skip to content

Commit 8f46494

Browse files
committed
Java 1.5 to 1.8 back-porting.
1 parent 21c0a58 commit 8f46494

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

core/src/test/java/org/bouncycastle/pqc/crypto/test/MLDSATest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ public void testSigVerCombinedVectorSet()
456456
{
457457
continue;
458458
}
459-
if (line.isEmpty())
459+
if (line.length() == 0)
460460
{
461461
if (!buf.isEmpty())
462462
{

pg/src/test/java/org/bouncycastle/bcpg/test/SignaturePacketTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,6 @@ private void testParseUnknownVersionSignaturePacket()
147147
"UnsupportedPacketVersionException",
148148
new TestExceptionOperation()
149149
{
150-
@Override
151150
public void operation()
152151
throws Exception
153152
{

pg/src/test/java/org/bouncycastle/openpgp/test/PGPPaddingTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ private void negativePaddingLengthThrows()
7373
{
7474
testException(null, "IllegalArgumentException", new TestExceptionOperation()
7575
{
76-
@Override
7776
public void operation()
7877
throws Exception
7978
{
@@ -86,7 +85,6 @@ private void zeroPaddingLengthThrows()
8685
{
8786
testException(null, "IllegalArgumentException", new TestExceptionOperation()
8887
{
89-
@Override
9088
public void operation()
9189
throws Exception
9290
{

0 commit comments

Comments
 (0)