One more minor update
@@ -1264,11 +1264,11 @@ public abstract class ProviderFactory {
}
protected static Set<String> getFilterNameBindings(ProviderInfo<?> p) {
- Set<String> names = null;
if (p instanceof FilterProviderInfo) {
- names = ((FilterProviderInfo<?>)p).getNameBindings();
+ return ((FilterProviderInfo<?>)p).getNameBindings();
+ } else {
+ return getFilterNameBindings(p.getBus(), p.getProvider());
}
- return names == null ? getFilterNameBindings(p.getBus(), p.getProvider()) : names;
}
protected static Set<String> getFilterNameBindings(Bus bus, Object provider) {
