diff src/org/eclipse/jetty/io/nio/SslConnection.java @ 972:5ee36654b383

simplify AbstractHttpConnection
author Franklin Schmidt <fschmidt@gmail.com>
date Sat, 15 Oct 2016 22:42:05 -0600
parents 866f2e801618
children 4d9fe9cc554d
line wrap: on
line diff
--- a/src/org/eclipse/jetty/io/nio/SslConnection.java	Fri Oct 14 13:06:06 2016 -0600
+++ b/src/org/eclipse/jetty/io/nio/SslConnection.java	Sat Oct 15 22:42:05 2016 -0600
@@ -30,7 +30,6 @@
 import org.eclipse.jetty.io.AbstractConnection;
 import org.eclipse.jetty.io.AsyncEndPoint;
 import org.eclipse.jetty.io.Buffer;
-import org.eclipse.jetty.io.Connection;
 import org.eclipse.jetty.io.EndPoint;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -761,14 +760,9 @@
 			_aEndp.setMaxIdleTime(timeMs);
 		}
 
-		public Connection getConnection()
+		public void setConnection(AsyncConnection connection)
 		{
-			return _connection;
-		}
-
-		public void setConnection(Connection connection)
-		{
-			_connection = (AsyncConnection)connection;
+			_connection = connection;
 		}
 
 		public String toString()