From 2b4d90d59d2fdebce63338e373351636ed266e3f Mon Sep 17 00:00:00 2001 From: Alexander Zolotov Date: Sun, 10 Jul 2016 15:28:52 +0300 Subject: [PATCH] Remove redundant override --- .../psi/impl/source/xml/XmlTokenImpl.java | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/XmlTokenImpl.java b/xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/XmlTokenImpl.java index 5d700875ce13..f22d4af60d96 100644 --- a/xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/XmlTokenImpl.java +++ b/xml/xml-psi-impl/src/com/intellij/psi/impl/source/xml/XmlTokenImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2014 JetBrains s.r.o. + * Copyright 2000-2016 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -83,21 +83,8 @@ public class XmlTokenImpl extends LeafPsiElement implements XmlToken, Navigatabl return super.getReferences(); } - @Override - public void navigate(boolean requestFocus) { - Navigatable descriptor = PsiNavigationSupport.getInstance().getDescriptor(this); - if (descriptor != null) { - descriptor.navigate(requestFocus); - } - } - @Override public boolean canNavigate() { return getTokenType() == XmlTokenType.XML_NAME && PsiNavigationSupport.getInstance().canNavigate(this); } - - @Override - public boolean canNavigateToSource() { - return canNavigate(); - } }