summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorBrian Carlstrom <bdc@google.com>2010-01-26 23:34:58 -0800
committerBrian Carlstrom <bdc@google.com>2010-01-26 23:34:58 -0800
commitb75c8c123fc5f955a59cb4cabffad5c24f1ca022 (patch)
tree077bb2b78685953c6490b9f5d411638845770c8b /security
parent0fa728da306a2e817003e15b8fcc3ceba7aac403 (diff)
downloadlibcore-b75c8c123fc5f955a59cb4cabffad5c24f1ca022.zip
libcore-b75c8c123fc5f955a59cb4cabffad5c24f1ca022.tar.gz
libcore-b75c8c123fc5f955a59cb4cabffad5c24f1ca022.tar.bz2
Spelling fixes
Diffstat (limited to 'security')
-rw-r--r--security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java2
-rw-r--r--security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java b/security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java
index c3e1f46..50b1a60 100644
--- a/security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java
+++ b/security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java
@@ -642,7 +642,7 @@ public class X509Name
if (index == -1)
{
- throw new IllegalArgumentException("badly formated directory string");
+ throw new IllegalArgumentException("badly formatted directory string");
}
String name = token.substring(0, index);
diff --git a/security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java b/security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java
index b5ab60f..63825dd 100644
--- a/security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java
+++ b/security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java
@@ -63,7 +63,7 @@ public class LocalizedMessage
/**
* Reads the entry <code>id + "." + key</code> from the resource file and returns a
- * formated message for the given Locale and TimeZone.
+ * formatted message for the given Locale and TimeZone.
* @param key second part of the entry id
* @param loc the used {@link Locale}
* @param timezone the used {@link TimeZone}