Mercurial Hosting > luan
diff src/org/eclipse/jetty/io/AbstractBuffer.java @ 1020:6be43ef1eb96
HttpHeaderValues uses StringCache
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 31 Oct 2016 22:24:41 -0600 |
parents | f126d30e04a4 |
children | 6647dbc8be71 |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/AbstractBuffer.java Mon Oct 31 03:33:42 2016 -0600 +++ b/src/org/eclipse/jetty/io/AbstractBuffer.java Mon Oct 31 22:24:41 2016 -0600 @@ -597,6 +597,7 @@ @Override public String toString() { +/* if (isImmutable()) { if (_string == null) @@ -604,6 +605,8 @@ return _string; } return new String(asArray(), 0, length()); +*/ + return toString("ISO-8859-1"); } @Override