From 5dc6e69eaefa905435605450c4cb1d2cfffc883d Mon Sep 17 00:00:00 2001 From: Brian Carlstrom Date: Tue, 26 Jan 2010 23:34:58 -0800 Subject: [PATCH] Spelling fixes --- libcore/security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java | 2 +- .../security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libcore/security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java b/libcore/security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java index c3e1f4634..50b1a6042 100644 --- a/libcore/security/src/main/java/org/bouncycastle/asn1/x509/X509Name.java +++ b/libcore/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/libcore/security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java b/libcore/security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java index b5ab60ff1..63825ddde 100644 --- a/libcore/security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java +++ b/libcore/security/src/main/java/org/bouncycastle/i18n/LocalizedMessage.java @@ -63,7 +63,7 @@ public class LocalizedMessage /** * Reads the entry id + "." + key 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} -- 2.11.0