diff src/org/eclipse/jetty/server/AsyncContinuation.java @ 924:5c9cb5d00512

remove isContinuation()
author Franklin Schmidt <fschmidt@gmail.com>
date Sun, 09 Oct 2016 18:21:39 -0600
parents 52d8b5c29d8e
children 720a98fb0253
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/AsyncContinuation.java	Sun Oct 09 18:17:01 2016 -0600
+++ b/src/org/eclipse/jetty/server/AsyncContinuation.java	Sun Oct 09 18:21:39 2016 -0600
@@ -86,7 +86,6 @@
 	private long _timeoutMs=DEFAULT_TIMEOUT;
 	private AsyncEventState _event;
 	private volatile long _expireAt;    
-	private volatile boolean _continuation;
 	
 	/* ------------------------------------------------------------ */
 	protected AsyncContinuation()
@@ -191,11 +190,6 @@
 		}
 	}
 	
-	public boolean isContinuation()
-	{
-		return _continuation;
-	}
-	
 	/* ------------------------------------------------------------ */
 	/* (non-Javadoc)
 	 * @see javax.servlet.ServletRequest#isSuspended()
@@ -271,8 +265,6 @@
 	{
 		synchronized (this)
 		{
-			_continuation=false;
-			
 			switch(_state)
 			{
 				case __IDLE:
@@ -550,7 +542,6 @@
 		}
 	}
 
-	/* ------------------------------------------------------------ */
 	boolean isUncompleted()
 	{
 		synchronized (this)
@@ -559,7 +550,6 @@
 		}
 	} 
 	
-	/* ------------------------------------------------------------ */
 	public boolean isComplete()
 	{
 		synchronized (this)
@@ -569,7 +559,6 @@
 	}
 
 
-	/* ------------------------------------------------------------ */
 	public boolean isAsync()
 	{
 		synchronized (this)