Skip to content

Commit

Permalink
Honor Java 7 language level
Browse files Browse the repository at this point in the history
  • Loading branch information
artembilan committed Mar 30, 2018
1 parent adcfef4 commit 6498219
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 6498219

Please sign in to comment.