From 543a130e1bdf78295e321b13dc3dddf66e52ec5b Mon Sep 17 00:00:00 2001 From: nik Date: Wed, 24 Aug 2011 15:11:40 +0400 Subject: [PATCH] avoided fetching jsf library versions on EDT --- .../framework/library/DownloadableLibraryTypeBase.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java/idea-ui/src/com/intellij/framework/library/DownloadableLibraryTypeBase.java b/java/idea-ui/src/com/intellij/framework/library/DownloadableLibraryTypeBase.java index ee4fe4f3d541..76f2543465fe 100644 --- a/java/idea-ui/src/com/intellij/framework/library/DownloadableLibraryTypeBase.java +++ b/java/idea-ui/src/com/intellij/framework/library/DownloadableLibraryTypeBase.java @@ -34,14 +34,14 @@ public abstract class DownloadableLibraryTypeBase extends DownloadableLibraryTyp public LibraryVersionProperties detect(@NotNull List classesRoots) { for (String className : getDetectionClassNames()) { - final LibraryVersionProperties versionProperties = detectJsfVersion(classesRoots, className); + final LibraryVersionProperties versionProperties = detectVersion(classesRoots, className); if (versionProperties != null) return versionProperties; } return null; } @Nullable - private static LibraryVersionProperties detectJsfVersion(List classesRoots, String detectionClass) { + private static LibraryVersionProperties detectVersion(List classesRoots, String detectionClass) { if (!LibraryUtil.isClassAvailableInLibrary(classesRoots, detectionClass)) { return null; }