Minor: add factory info into toString() for diagnostics
This commit is contained in:
committed by
Nikolay Krasko
parent
a2ba1d762d
commit
efaa1d9614
+1
-1
@@ -46,6 +46,6 @@ public class DiagnosticWithParameters1<E extends PsiElement, A> extends Abstract
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "(a = " + a + ")";
|
return getFactory() + "(a = " + a + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -54,6 +54,6 @@ public class DiagnosticWithParameters2<E extends PsiElement, A, B> extends Abstr
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "(a = " + a + ", b = " + b + ")";
|
return getFactory() + "(a = " + a + ", b = " + b + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -62,6 +62,6 @@ public class DiagnosticWithParameters3<E extends PsiElement, A, B, C> extends Ab
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "(a = " + a + ", b = " + b + ", c = " + c + ")";
|
return getFactory() + "(a = " + a + ", b = " + b + ", c = " + c + ")";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user