Skip to content
Permalink
Browse files

Honor Java 7 language level

  • Loading branch information...
artembilan committed Mar 30, 2018
1 parent adcfef4 commit 649821927491d3792d14294c0e5d9df398e053b0
@@ -470,7 +470,7 @@ public void initialize() {
@SuppressWarnings("rawtypes")
Collection<Collection> collections = this.declareCollections
? this.applicationContext.getBeansOfType(Collection.class, false, false).values()
: Collections.emptyList();
: Collections.<Collection>emptyList();
for (Collection<?> collection : collections) {
if (collection.size() > 0 && collection.iterator().next() instanceof Declarable) {
for (Object declarable : collection) {

0 comments on commit 6498219

Please sign in to comment.
You can’t perform that action at this time.