Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2011-03-04 03:15:35 +0000
committerGreg Wilkins2011-03-04 03:15:35 +0000
commitfbb0027f2e8085d8263bdcc1b8a38d4adcfdb1ec (patch)
treefd7b5b3d32171c63cdf274e3312e01da9f929456
parent719449a419178c166be7367549eaf3b335eff959 (diff)
downloadorg.eclipse.jetty.project-fbb0027f2e8085d8263bdcc1b8a38d4adcfdb1ec.tar.gz
org.eclipse.jetty.project-fbb0027f2e8085d8263bdcc1b8a38d4adcfdb1ec.tar.xz
org.eclipse.jetty.project-fbb0027f2e8085d8263bdcc1b8a38d4adcfdb1ec.zip
turned off scanner, nothing found since 7.3.0 other than false positives
git-svn-id: svn+ssh://dev.eclipse.org/svnroot/rt/org.eclipse.jetty/jetty/trunk@2851 7e9141cc-0065-0410-87d8-b60c137991c4
-rw-r--r--jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java17
-rw-r--r--jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java10
2 files changed, 0 insertions, 27 deletions
diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java
index 7aed2cff22..19195fa7f0 100644
--- a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java
+++ b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectChannelEndPoint.java
@@ -622,21 +622,4 @@ public class SelectChannelEndPoint extends ChannelEndPoint implements AsyncEndPo
_maxIdleTime=timeMs;
}
- /* ------------------------------------------------------------ */
- /**
- * This looks for undispatched endpoints that have key.interestOps!=endp.interestOps
- * @TODO find out the root cause of this and delete this method.
- */
- public void checkKey(SelectionKey key)
- {
- synchronized (this)
- {
- if (!_changing && key.interestOps()!=_interestOps && isReadyForDispatch())
- {
- Log.warn("NIO InterestOps mismatch "+key.interestOps()+"!="+_interestOps+" for "+this);
- updateKey();
- }
- }
- }
-
}
diff --git a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java
index 24898d7a3b..1ba36a69d8 100644
--- a/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java
+++ b/jetty-io/src/main/java/org/eclipse/jetty/io/nio/SelectorManager.java
@@ -604,16 +604,6 @@ public abstract class SelectorManager extends AbstractLifeCycle implements Dumpa
}
}
});
-
- // TODO find root cause and remove this
- // This looks for undispatched endpoints that have key.interestOps!=endp.interestOps
- for (SelectionKey key: selector.keys())
- {
- if (key.isValid() && key.attachment() instanceof SelectChannelEndPoint)
- {
- ((SelectChannelEndPoint)key.attachment()).checkKey(key);
- }
- }
}
}
catch (CancelledKeyException e)

Back to the top