diff options
Diffstat (limited to 'OpenPGP-Keychain/src')
2 files changed, 6 insertions, 9 deletions
diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpOperationIncoming.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpOperationIncoming.java index b018f35d8..b6d7433be 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpOperationIncoming.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpOperationIncoming.java @@ -624,8 +624,8 @@ public class PgpOperationIncoming {      // taken from ClearSignedFileProcessor in BC -    private static void processLine(PGPSignature sig, byte[] line) throws SignatureException, -            IOException { +    private static void processLine(PGPSignature sig, byte[] line) +            throws SignatureException, IOException {          int length = getLengthWithoutWhiteSpace(line);          if (length > 0) {              sig.update(line, 0, length); diff --git a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpOperationOutgoing.java b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpOperationOutgoing.java index 52e41306f..044fe5aad 100644 --- a/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpOperationOutgoing.java +++ b/OpenPGP-Keychain/src/main/java/org/sufficientlysecure/keychain/pgp/PgpOperationOutgoing.java @@ -539,7 +539,8 @@ public class PgpOperationOutgoing {      private static void processLine(final String pLine, final ArmoredOutputStream pArmoredOutput, -                                    final PGPSignatureGenerator pSignatureGenerator) throws IOException, SignatureException { +                                    final PGPSignatureGenerator pSignatureGenerator) +            throws IOException, SignatureException {          if (pLine == null) {              return; @@ -564,8 +565,8 @@ public class PgpOperationOutgoing {      }      private static void processLine(final String pLine, final ArmoredOutputStream pArmoredOutput, -                                    final PGPV3SignatureGenerator pSignatureGenerator) throws IOException, -            SignatureException { +                                    final PGPV3SignatureGenerator pSignatureGenerator) +            throws IOException, SignatureException {          if (pLine == null) {              return; @@ -589,8 +590,4 @@ public class PgpOperationOutgoing {          pSignatureGenerator.update(data);      } -    private static boolean isWhiteSpace(byte b) { -        return b == '\r' || b == '\n' || b == '\t' || b == ' '; -    } -  }  | 
