Refactoring: remove unused method

This commit is contained in:
Nikolay Krasko
2014-02-05 14:56:04 +04:00
parent 1d884912a0
commit 7b07b748cb
@@ -1,5 +1,5 @@
/*
* Copyright 2010-2013 JetBrains s.r.o.
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -106,10 +106,6 @@ public class FileBasedDeclarationProviderFactory implements DeclarationProviderF
return index.invoke().declaredPackages.contains(packageFqName);
}
/*package*/ boolean isPackageDeclared(@NotNull FqName packageFqName) {
return isPackageDeclaredExplicitly(packageFqName) || isPackageDeclaredExternally.apply(packageFqName);
}
/*package*/ Collection<FqName> getAllDeclaredSubPackagesOf(@NotNull final FqName parent) {
return Collections2.filter(index.invoke().declaredPackages, new Predicate<FqName>() {
@Override