Improved toString() to add the version.

This commit is contained in:
Simone Bordet 2017-10-19 21:23:33 +02:00
parent 0d3827d882
commit 5e5355cd20
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ public class Server extends HandlerWrapper implements Attributes
@Override
public String toString()
{
return this.getClass().getName()+"@"+Integer.toHexString(hashCode());
return String.format("%s[%s]", super.toString(), getVersion());
}
/* ------------------------------------------------------------ */