From 3eeb8b20ce32a0c9dbf7cb8e83721545cb912de2 Mon Sep 17 00:00:00 2001 From: Arjen Poutsma Date: Mon, 11 Jan 2010 08:25:56 +0000 Subject: [PATCH] Spelling --- .../ws/soap/security/wss4j/support/CryptoFactoryBean.java | 6 +++--- xml/src/main/java/org/springframework/xml/sax/SaxUtils.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/security/src/main/java/org/springframework/ws/soap/security/wss4j/support/CryptoFactoryBean.java b/security/src/main/java/org/springframework/ws/soap/security/wss4j/support/CryptoFactoryBean.java index 46558eeb..1e95da64 100755 --- a/security/src/main/java/org/springframework/ws/soap/security/wss4j/support/CryptoFactoryBean.java +++ b/security/src/main/java/org/springframework/ws/soap/security/wss4j/support/CryptoFactoryBean.java @@ -82,11 +82,11 @@ public class CryptoFactoryBean implements FactoryBean, BeanClassLoaderAware, Ini * This property maps to the WSS4J org.apache.ws.security.crypto.merlin.file property. * * @param location the key store location - * @throws java.io.IOException when the resource cannot be openened + * @throws java.io.IOException when the resource cannot be opened */ public void setKeyStoreLocation(Resource location) throws IOException { - File keystoreFile = location.getFile(); - this.configuration.setProperty("org.apache.ws.security.crypto.merlin.file", keystoreFile.getAbsolutePath()); + File keyStoreFile = location.getFile(); + this.configuration.setProperty("org.apache.ws.security.crypto.merlin.file", keyStoreFile.getAbsolutePath()); } /** diff --git a/xml/src/main/java/org/springframework/xml/sax/SaxUtils.java b/xml/src/main/java/org/springframework/xml/sax/SaxUtils.java index 0ddbfe16..8b1e223f 100644 --- a/xml/src/main/java/org/springframework/xml/sax/SaxUtils.java +++ b/xml/src/main/java/org/springframework/xml/sax/SaxUtils.java @@ -48,7 +48,7 @@ public abstract class SaxUtils { return inputSource; } - /** Retrieves the URL from the given resource as System ID. Returns null if it cannot be openened. */ + /** Retrieves the URL from the given resource as System ID. Returns null if it cannot be opened. */ public static String getSystemId(Resource resource) { try { return new URI(resource.getURL().toExternalForm()).toString();