mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (formatting)
This commit is contained in:
@@ -202,10 +202,9 @@ public abstract class HTMLComposerImpl extends HTMLComposer {
|
||||
String refElementName = refElement.getName();
|
||||
final PsiElement element = refElement.getElement();
|
||||
if (element != null) {
|
||||
final VirtualFile virtualFile = PsiUtilCore.getVirtualFile(element);
|
||||
if (virtualFile != null) {
|
||||
refElementName = ProjectUtilCore.displayUrlRelativeToProject(virtualFile, virtualFile.getPresentableUrl(), element.getProject(),
|
||||
true, false);
|
||||
VirtualFile file = PsiUtilCore.getVirtualFile(element);
|
||||
if (file != null) {
|
||||
refElementName = ProjectUtilCore.displayUrlRelativeToProject(file, file.getPresentableUrl(), element.getProject(), true, false);
|
||||
}
|
||||
}
|
||||
buf.append(refElementName);
|
||||
|
||||
Reference in New Issue
Block a user