diff src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java @ 967:8a8dc0b1742f

remove getConnection()
author Franklin Schmidt <fschmidt@gmail.com>
date Fri, 14 Oct 2016 02:30:48 -0600
parents 866f2e801618
children 0d20943cfea2
line wrap: on
line diff
--- a/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java	Fri Oct 14 02:26:05 2016 -0600
+++ b/src/org/eclipse/jetty/server/nio/BlockingChannelConnector.java	Fri Oct 14 02:30:48 2016 -0600
@@ -152,22 +152,11 @@
 			_connection = new BlockingHttpConnection(BlockingChannelConnector.this,this,server);
 		}
 
-		/* ------------------------------------------------------------ */
-		/** Get the connection.
-		 * @return the connection
-		 */
-		public Connection getConnection()
-		{
-			return _connection;
-		}
-
-		/* ------------------------------------------------------------ */
 		public void setConnection(Connection connection)
 		{
 			_connection=connection;
 		}
 
-		/* ------------------------------------------------------------ */
 		public void checkIdleTimestamp(long now)
 		{
 			if (_idleTimestamp!=0 && _timeout>0 && now>(_idleTimestamp+_timeout))
@@ -176,7 +165,6 @@
 			}
 		}
 
-		/* ------------------------------------------------------------ */
 		protected void idleExpired()
 		{
 			try
@@ -189,7 +177,6 @@
 			}
 		}
 
-		/* ------------------------------------------------------------ */
 		void dispatch() throws IOException
 		{
 			try {