lib/groovy*.jar is not necessary for groovy distributions

This commit is contained in:
peter
2011-03-04 15:57:41 +01:00
parent 0ed55008e9
commit 52401de2a5
@@ -80,10 +80,6 @@ public class GroovyLibraryDescription extends CustomLibraryDescription {
@Nullable
public static GroovyLibraryPresentationProviderBase findManager(@NotNull VirtualFile dir) {
if (GroovyUtils.getFilesInDirectoryByPattern(dir.getPath() + "/lib", "groovy.*\\.jar").length == 0) {
return null;
}
final String name = dir.getName();
final List<GroovyLibraryPresentationProviderBase> providers = ContainerUtil.findAll(LibraryPresentationProvider.EP_NAME.getExtensions(), GroovyLibraryPresentationProviderBase.class);