diff src/org/eclipse/jetty/server/AsyncContinuation.java @ 921:a5af9ee7cf91

remove isExpired()
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 18:09:50 -0600
parents 3268ddf919d4
children 03f39c8abd6b
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AsyncContinuation.java	Sun Oct 09 03:51:31 2016 -0600
+++ b/src/org/eclipse/jetty/server/AsyncContinuation.java	Sun Oct 09 18:09:50 2016 -0600
@@ -83,7 +83,6 @@
 	private int _state;
 	private boolean _initial;
 	private boolean _resumed;
-	private boolean _expired;
 	private volatile boolean _responseWrapped;
 	private long _timeoutMs=DEFAULT_TIMEOUT;
 	private AsyncEventState _event;
@@ -262,8 +261,7 @@
 												(_state==__COMPLETED)?"COMPLETE":
 													("UNKNOWN?"+_state))+
 			(_initial?",initial":"")+
-			(_resumed?",resumed":"")+
-			(_expired?",expired":"");
+			(_resumed?",resumed":"");
 		}
 	}
 
@@ -468,7 +466,6 @@
 			}
 			_initial = true;
 			_resumed=false;
-			_expired=false;
 			_responseWrapped=false;
 			cancelTimeout();
 			_timeoutMs=DEFAULT_TIMEOUT;
@@ -677,17 +674,6 @@
 			return _resumed;
 		}
 	}
-	/* ------------------------------------------------------------ */
-	/**
-	 * @see Continuation#isExpired()
-	 */
-	public boolean isExpired()
-	{
-		synchronized (this)
-		{
-			return _expired;
-		}
-	}
 
 	/* ------------------------------------------------------------ */
 	/**