Mercurial Hosting > luan
diff src/org/eclipse/jetty/http/HttpFields.java @ 1048:2b769da7f67d
remove Buffer
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Mon, 07 Nov 2016 23:15:42 -0700 |
parents | eca26899c4bc |
children | bbbda7c6e8ec |
line wrap: on
line diff
--- a/src/org/eclipse/jetty/http/HttpFields.java Mon Nov 07 22:51:09 2016 -0700 +++ b/src/org/eclipse/jetty/http/HttpFields.java Mon Nov 07 23:15:42 2016 -0700 @@ -39,7 +39,7 @@ import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; -import org.eclipse.jetty.io.Buffer; +import org.eclipse.jetty.io.JBuffer; import org.eclipse.jetty.io.BufferUtil; import org.eclipse.jetty.util.LazyList; import org.eclipse.jetty.util.QuotedStringTokenizer; @@ -943,7 +943,7 @@ _next = null; } - public void putTo(Buffer buffer) throws IOException + public void putTo(JBuffer buffer) throws IOException { byte[] nameBytes = StringUtil.getBytes(_name); if (getNameOrdinal() >=0 )