mirror of
https://github.com/jetty/jetty.project.git
synced 2025-03-04 04:49:12 +00:00
Improved toString() to add the version.
This commit is contained in:
parent
0d3827d882
commit
5e5355cd20
@ -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());
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user