useful toString

This commit is contained in:
Egor.Ushakov
2015-10-05 11:00:47 +03:00
parent ca50042820
commit b455acb4ed
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2013 JetBrains s.r.o.
* Copyright 2000-2015 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.
@@ -31,4 +31,9 @@ public abstract class XNamedValue extends XValue {
public final String getName() {
return myName;
}
@Override
public String toString() {
return getName();
}
}