From 6d661dd3ed5736c49a90e9871570b7d4ccdddf17 Mon Sep 17 00:00:00 2001 From: Anna Kozlova Date: Wed, 2 Sep 2009 17:09:29 +0400 Subject: [PATCH] SOFE --- .../src/com/intellij/lang/java/JavaDocumentationProvider.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/java/java-impl/src/com/intellij/lang/java/JavaDocumentationProvider.java b/java/java-impl/src/com/intellij/lang/java/JavaDocumentationProvider.java index 899e598fda..a54bf8602c 100644 --- a/java/java-impl/src/com/intellij/lang/java/JavaDocumentationProvider.java +++ b/java/java-impl/src/com/intellij/lang/java/JavaDocumentationProvider.java @@ -706,15 +706,6 @@ public class JavaDocumentationProvider implements CodeDocumentationProvider { urls = findUrlForPackage(aPackage); } } - else { - DocumentationProvider provider = DocumentationManager.getProviderFromElement(element); - final SmartPsiElementPointer originalElementPointer = element.getUserData(DocumentationManager.ORIGINAL_ELEMENT_KEY); - final List urlz = provider.getUrlFor(element, originalElementPointer != null ? originalElementPointer.getElement() : null); - if (urlz != null) { - urls = new ArrayList(); - urls.addAll(urlz); - } - } if (urls == null) { return null; -- 2.11.4.GIT