diff --git a/org.springframework.context.support/src/main/java/org/springframework/mail/javamail/ConfigurableMimeFileTypeMap.java b/org.springframework.context.support/src/main/java/org/springframework/mail/javamail/ConfigurableMimeFileTypeMap.java
index acdd77b11d2..e0fdfadf7ec 100644
--- a/org.springframework.context.support/src/main/java/org/springframework/mail/javamail/ConfigurableMimeFileTypeMap.java
+++ b/org.springframework.context.support/src/main/java/org/springframework/mail/javamail/ConfigurableMimeFileTypeMap.java
@@ -1,5 +1,5 @@
/*
- * Copyright 2002-2008 the original author or authors.
+ * Copyright 2002-2010 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -153,8 +153,8 @@ public class ConfigurableMimeFileTypeMap extends FileTypeMap implements Initiali
fileTypeMap = new MimetypesFileTypeMap();
}
if (mappings != null) {
- for (int i = 0; i < mappings.length; i++) {
- fileTypeMap.addMimeTypes(mappings[i]);
+ for (String mapping : mappings) {
+ fileTypeMap.addMimeTypes(mapping);
}
}
return fileTypeMap;
diff --git a/org.springframework.context/src/main/resources/org/springframework/context/config/spring-context-3.0.xsd b/org.springframework.context/src/main/resources/org/springframework/context/config/spring-context-3.0.xsd
index dd8f18dbeed..bc3a1b7b714 100644
--- a/org.springframework.context/src/main/resources/org/springframework/context/config/spring-context-3.0.xsd
+++ b/org.springframework.context/src/main/resources/org/springframework/context/config/spring-context-3.0.xsd
@@ -23,36 +23,36 @@
@@ -60,9 +60,9 @@ in conjunction with
default="false">
@@ -70,10 +70,10 @@ be raised at runtime.
default="false">
@@ -81,8 +81,8 @@ the context that have not yet visited the key in question.
default="false">