Skip to content
This repository was archived by the owner on May 28, 2018. It is now read-only.

Fixed Javadoc and typo in CommonConfig #3677

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public class CommonConfig implements FeatureContext, ExtendedConfig {
private final Map<String, Object> immutablePropertiesView;
private final Collection<String> immutablePropertyNames;
/**
* Configured providers, does not include features and binders.
* Configured providers and binders, does not include features.
*/
private final ComponentBag componentBag;
/**
Expand Down Expand Up @@ -642,7 +642,7 @@ private Set<Binder> configureBinders(InjectionManager injectionManager, Set<Bind
Set<Binder> allConfigured = Collections.newSetFromMap(new IdentityHashMap<>());
allConfigured.addAll(configured);

Collection<Binder> binders = getBinder(configured);
Collection<Binder> binders = getBinders(configured);
if (!binders.isEmpty()) {
injectionManager.register(CompositeBinder.wrap(binders));
allConfigured.addAll(binders);
Expand All @@ -651,7 +651,7 @@ private Set<Binder> configureBinders(InjectionManager injectionManager, Set<Bind
return allConfigured;
}

private Collection<Binder> getBinder(Set<Binder> configured) {
private Collection<Binder> getBinders(Set<Binder> configured) {
return componentBag.getInstances(ComponentBag.BINDERS_ONLY)
.stream()
.map(CAST_TO_BINDER)
Expand Down