Okay, more spaces Codacy, you win!

This commit is contained in:
David Solin
2016-09-09 16:03:45 -05:00
parent 68b924863e
commit e420593fa9
2 changed files with 34 additions and 34 deletions

View File

@@ -427,7 +427,7 @@ public class Buffer<T extends Buffer<T>> {
throws BufferException { throws BufferException {
try { try {
final KeyType type = KeyType.fromString(readString()); final KeyType type = KeyType.fromString(readString());
switch(type) { switch (type) {
case RSA: case RSA:
case DSA: case DSA:
return type.readPubKeyFromBuffer(this); return type.readPubKeyFromBuffer(this);

View File

@@ -194,7 +194,7 @@ public class PKCS5KeyFile
throw new FormatException("PKCS5 header not found"); throw new FormatException("PKCS5 header not found");
} }
ASN1Data asn = new ASN1Data(data = decrypt(Base64.decode(sb.toString()), cipher, iv)); ASN1Data asn = new ASN1Data(data = decrypt(Base64.decode(sb.toString()), cipher, iv));
switch(type) { switch (type) {
case RSA: { case RSA: {
KeyFactory factory = KeyFactory.getInstance("RSA"); KeyFactory factory = KeyFactory.getInstance("RSA");
asn.readNext(); asn.readNext();