Author: markt Date: Sun Dec 30 22:59:45 2012 New Revision: 1427015 URL: http://svn.apache.org/viewvc?rev=1427015&view=rev Log: Deprecate unnecessary code
Modified: tomcat/tc7.0.x/trunk/ (props changed) tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Propchange: tomcat/tc7.0.x/trunk/ ------------------------------------------------------------------------------ Merged /tomcat/trunk:r1427013 Modified: tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java URL: http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java?rev=1427015&r1=1427014&r2=1427015&view=diff ============================================================================== --- tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java (original) +++ tomcat/tc7.0.x/trunk/java/org/apache/tomcat/util/net/NioEndpoint.java Sun Dec 30 22:59:45 2012 @@ -1531,7 +1531,16 @@ public class NioEndpoint extends Abstrac public boolean getComet() { return comet; } public void setCometNotify(boolean notify) { this.cometNotify = notify; } public boolean getCometNotify() { return cometNotify; } + /** + * @deprecated Unused (value is set but never read) - will be removed in + * Tomcat 8 + */ + @Deprecated public void setCometOps(int ops) { this.cometOps = ops; } + /** + * @deprecated Unused - will be removed in Tomcat 8 + */ + @Deprecated public int getCometOps() { return cometOps; } public NioChannel getChannel() { return getSocket();} public void setChannel(NioChannel channel) { this.socket = channel;} @@ -1564,7 +1573,15 @@ public class NioEndpoint extends Abstrac public void awaitReadLatch(long timeout, TimeUnit unit) throws InterruptedException { awaitLatch(readLatch,timeout,unit);} public void awaitWriteLatch(long timeout, TimeUnit unit) throws InterruptedException { awaitLatch(writeLatch,timeout,unit);} + /** + * @deprecated Unused - will be removed in Tomcat 8 + */ + @Deprecated public long getLastRegistered() { return lastRegistered; } + /** + * @deprecated Unused - will be removed in Tomcat 8 + */ + @Deprecated public void setLastRegistered(long reg) { lastRegistered = reg; } public void setSendfileData(SendfileData sf) { this.sendfileData = sf;} --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org