mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
WEB-68929 Remove unused IDTDElementType
GitOrigin-RevId: d41c56667e3cb8a55d01152a7abae86307e768c5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f89bcdcabc
commit
62641bb713
@@ -1,12 +0,0 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.psi.tree.xml;
|
||||
|
||||
import com.intellij.lang.dtd.DTDLanguage;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
|
||||
public class IDTDElementType extends IElementType {
|
||||
public IDTDElementType(@NonNls String debugName) {
|
||||
super(debugName, DTDLanguage.INSTANCE);
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,6 @@ import com.intellij.psi.impl.source.resolve.reference.ReferenceProvidersRegistry
|
||||
import com.intellij.psi.impl.source.tree.LeafPsiElement;
|
||||
import com.intellij.psi.search.PsiElementProcessor;
|
||||
import com.intellij.psi.tree.IElementType;
|
||||
import com.intellij.psi.tree.xml.IDTDElementType;
|
||||
import com.intellij.psi.xml.XmlToken;
|
||||
import com.intellij.psi.xml.XmlTokenType;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
@@ -35,10 +34,7 @@ public class XmlTokenImpl extends LeafPsiElement implements XmlToken, Navigatabl
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
if(getTokenType() instanceof IDTDElementType){
|
||||
return "DTDToken:" + getTokenType().toString();
|
||||
}
|
||||
return "XmlToken:" + getTokenType().toString();
|
||||
return "XmlToken:" + getTokenType();
|
||||
}
|
||||
|
||||
// Implementation specific
|
||||
|
||||
Reference in New Issue
Block a user