TypeAlias allow toString to be overridden (#129)
This commit is contained in:
parent
30f903dbb2
commit
bdb22f134e
1 changed files with 6 additions and 1 deletions
|
@ -87,8 +87,13 @@ public abstract class TypeAlias<T> {
|
|||
return o != null && map(o::equals);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns a string representation of the TypeAlias.
|
||||
*
|
||||
* <p>This implementation delegates to the aliased value unmodified.</p>
|
||||
*/
|
||||
@Override
|
||||
public final String toString() {
|
||||
public String toString() {
|
||||
return value.toString();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue