Fix "Type can be weakened" warning

This commit is contained in:
Nikolay Krasko
2012-06-04 20:24:48 +04:00
parent 0cd8534230
commit 3c4fdc0534
@@ -98,7 +98,7 @@ public final class TipsManager {
return excludeNonPackageDescriptors(resolutionScope.getAllDescriptors());
}
else {
HashSet<DeclarationDescriptor> descriptorsSet = Sets.newHashSet();
Collection<DeclarationDescriptor> descriptorsSet = Sets.newHashSet();
ArrayList<ReceiverDescriptor> result = new ArrayList<ReceiverDescriptor>();
resolutionScope.getImplicitReceiversHierarchy(result);