Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2013-10-21 04:50:22 +0000
committerGreg Wilkins2013-10-21 04:50:22 +0000
commit33e205546863ee4c2de80abe689e83bffa3098ca (patch)
treebe5c1d79df095517ba96f70fa16d0cd37e601c3b /jetty-http
parentbb7ab62c7a5ef83a8f4edcfa35b1b829970d7103 (diff)
downloadorg.eclipse.jetty.project-33e205546863ee4c2de80abe689e83bffa3098ca.tar.gz
org.eclipse.jetty.project-33e205546863ee4c2de80abe689e83bffa3098ca.tar.xz
org.eclipse.jetty.project-33e205546863ee4c2de80abe689e83bffa3098ca.zip
minor code cleanups
Diffstat (limited to 'jetty-http')
-rw-r--r--jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java
index 2d0da1968c..8b557e3147 100644
--- a/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java
+++ b/jetty-http/src/main/java/org/eclipse/jetty/http/HttpFields.java
@@ -217,10 +217,10 @@ public class HttpFields implements Iterable<HttpField>
/**
* Get multi headers
*
- * @return Enumeration of the values, or null if no such header.
+ * @return List the values
* @param name the case-insensitive field name
*/
- public Collection<String> getValuesCollection(String name)
+ public List<String> getValuesList(String name)
{
final List<String> list = new ArrayList<>();
for (HttpField f : _fields)

Back to the top