mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
improve debugging experience
This commit is contained in:
+1
-1
@@ -543,7 +543,7 @@ public class MultiHostRegistrarImpl implements MultiHostRegistrar, ModificationT
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return result.toString();
|
||||
return String.valueOf(result);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
+9
-1
@@ -37,8 +37,8 @@ public class InjectionPlace {
|
||||
}
|
||||
};
|
||||
|
||||
private final ElementPattern<PsiElement> myElementPattern;
|
||||
private final boolean myEnabled;
|
||||
private final ElementPattern<PsiElement> myElementPattern;
|
||||
|
||||
|
||||
public InjectionPlace(final ElementPattern<PsiElement> myElementPattern, final boolean enabled) {
|
||||
@@ -78,4 +78,12 @@ public class InjectionPlace {
|
||||
public int hashCode() {
|
||||
return myElementPattern.hashCode();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "InjectionPlace{" +
|
||||
(myEnabled ? "+ " : "- ") +
|
||||
myElementPattern +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user