Polish "Use Java 8 forEach method on Map"

Closes gh-1404
This commit is contained in:
Stephane Nicoll
2017-04-28 10:53:23 +02:00
parent 13dc0cd828
commit 1b9e12f52f
7 changed files with 18 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-2017 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.
@@ -268,7 +268,7 @@ public abstract class BeanFactoryUtils {
String beanName = entry.getKey();
if (!result.containsKey(beanName) && !hbf.containsLocalBean(beanName)) {
result.put(beanName, entry.getValue());
}
}
});
}
}