diff options
author | Elliott Hughes <enh@google.com> | 2010-05-13 12:36:25 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2010-05-13 12:49:12 -0700 |
commit | f33eae7e84eb6d3b0f4e86b59605bb3de73009f3 (patch) | |
tree | f6cb62c04ce2669d2fa4715fbab86d38c8fca06d /luni/src/main/java/javax/crypto/ExemptionMechanism.java | |
parent | d21d78fd49a2d798218e8c8aefbddb26a0e71bbb (diff) | |
download | libcore-f33eae7e84eb6d3b0f4e86b59605bb3de73009f3.zip libcore-f33eae7e84eb6d3b0f4e86b59605bb3de73009f3.tar.gz libcore-f33eae7e84eb6d3b0f4e86b59605bb3de73009f3.tar.bz2 |
Remove all trailing whitespace from the dalvik team-maintained parts of libcore.
Gentlemen, you may now set your editors to "strip trailing whitespace"...
Change-Id: I85b2f6c80e5fbef1af6cab11789790b078c11b1b
Diffstat (limited to 'luni/src/main/java/javax/crypto/ExemptionMechanism.java')
-rw-r--r-- | luni/src/main/java/javax/crypto/ExemptionMechanism.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/luni/src/main/java/javax/crypto/ExemptionMechanism.java b/luni/src/main/java/javax/crypto/ExemptionMechanism.java index a746d6e..394bcc5 100644 --- a/luni/src/main/java/javax/crypto/ExemptionMechanism.java +++ b/luni/src/main/java/javax/crypto/ExemptionMechanism.java @@ -100,7 +100,7 @@ public class ExemptionMechanism { public static final ExemptionMechanism getInstance(String algorithm) throws NoSuchAlgorithmException { if (algorithm == null) { - throw new NullPointerException(Messages.getString("crypto.02")); + throw new NullPointerException(Messages.getString("crypto.02")); } synchronized (engine) { engine.getInstance(algorithm, null); @@ -132,14 +132,14 @@ public class ExemptionMechanism { String provider) throws NoSuchAlgorithmException, NoSuchProviderException { if (provider == null) { - throw new IllegalArgumentException(Messages.getString("crypto.04")); + throw new IllegalArgumentException(Messages.getString("crypto.04")); } Provider impProvider = Security.getProvider(provider); if (impProvider == null) { throw new NoSuchProviderException(provider); } if (algorithm == null) { - throw new NullPointerException(Messages.getString("crypto.02")); + throw new NullPointerException(Messages.getString("crypto.02")); } return getInstance(algorithm, impProvider); } @@ -164,10 +164,10 @@ public class ExemptionMechanism { public static final ExemptionMechanism getInstance(String algorithm, Provider provider) throws NoSuchAlgorithmException { if (algorithm == null) { - throw new NullPointerException(Messages.getString("crypto.02")); + throw new NullPointerException(Messages.getString("crypto.02")); } if (provider == null) { - throw new IllegalArgumentException(Messages.getString("crypto.04")); + throw new IllegalArgumentException(Messages.getString("crypto.04")); } synchronized (engine) { engine.getInstance(algorithm, provider, null); |