Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimone Bordet2014-07-22 13:32:13 -0400
committerSimone Bordet2014-07-22 13:32:13 -0400
commit4daba1ba79e56624688308bef04bed85f5593c1b (patch)
tree43a8847bcc64d22acb6cdfaf295a9f0abab955e1 /jetty-server
parent987800c41936e799aa6cc822c64af657c83cd3f7 (diff)
downloadorg.eclipse.jetty.project-4daba1ba79e56624688308bef04bed85f5593c1b.tar.gz
org.eclipse.jetty.project-4daba1ba79e56624688308bef04bed85f5593c1b.tar.xz
org.eclipse.jetty.project-4daba1ba79e56624688308bef04bed85f5593c1b.zip
Restored IteratingCallback APIs (in particular the completed()
method) to keep compatibility over micro versions of Jetty. Removed getState() - can't return a private class from a protected method, plus it was only used in a toString() with the wrong formatting string, that was already printing the state. Removed also final modifiers to keep compatibility.
Diffstat (limited to 'jetty-server')
-rw-r--r--jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java
index ca8ea64e9b..c88e08b679 100644
--- a/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java
+++ b/jetty-server/src/main/java/org/eclipse/jetty/server/HttpConnection.java
@@ -705,7 +705,7 @@ public class HttpConnection extends AbstractConnection implements Runnable, Http
@Override
public String toString()
{
- return String.format("%s[i=%s,cb=%s]",super.toString(),getState(),_info,_callback);
+ return String.format("%s[i=%s,cb=%s]",super.toString(),_info,_callback);
}
}

Back to the top