Refactoring: remove unused method
This commit is contained in:
+1
-5
@@ -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");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with 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);
|
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) {
|
/*package*/ Collection<FqName> getAllDeclaredSubPackagesOf(@NotNull final FqName parent) {
|
||||||
return Collections2.filter(index.invoke().declaredPackages, new Predicate<FqName>() {
|
return Collections2.filter(index.invoke().declaredPackages, new Predicate<FqName>() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user