polishing

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@1225 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2009-05-20 00:31:00 +00:00
parent 4d7576ef85
commit 407060ac59
2 changed files with 4 additions and 5 deletions
@@ -543,8 +543,7 @@ public class PersistenceAnnotationBeanPostProcessor extends JndiLocatorSupport
PersistenceProperty[] pps = pc.properties();
if (!ObjectUtils.isEmpty(pps)) {
properties = new Properties();
for (int i = 0; i < pps.length; i++) {
PersistenceProperty pp = pps[i];
for (PersistenceProperty pp : pps) {
properties.setProperty(pp.name(), pp.value());
}
}