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();