mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
toString methods for tokens; log E-20609
This commit is contained in:
@@ -28,4 +28,9 @@ public class FilterToken extends Token {
|
||||
public String getSuffix() {
|
||||
return mySuffix;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "|" + mySuffix;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,4 +19,8 @@ package com.intellij.codeInsight.template.zencoding;
|
||||
* @author Eugene.Kudelevsky
|
||||
*/
|
||||
class MarkerToken extends Token {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "&";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,4 +28,9 @@ class NumberToken extends Token {
|
||||
public int getNumber() {
|
||||
return myNumber;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Integer.toString(myNumber);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,4 +28,9 @@ class OperationToken extends Token {
|
||||
public char getSign() {
|
||||
return mySign;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return Character.toString(mySign);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -39,4 +39,9 @@ public class TemplateToken extends Token {
|
||||
public TemplateImpl getTemplate() {
|
||||
return myTemplate;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "TEMPLATE";
|
||||
}
|
||||
}
|
||||
|
||||
+2
-2
@@ -372,7 +372,7 @@ class XmlZenCodingInterpreter {
|
||||
return new XmlZenCodingFilterImpl().toString(tag, context);
|
||||
}
|
||||
|
||||
private static void fail() {
|
||||
LOG.error("Input string was checked incorrectly during isApplicable() invokation");
|
||||
private void fail() {
|
||||
LOG.error("Input string was checked incorrectly during isApplicable() invokation: " + myTokens.toString());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user