tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r829449 - in /tomcat/trunk/webapps/examples/WEB-INF/classes/async: AsyncStockServlet.java Stockticker.java
Date Sat, 24 Oct 2009 20:54:19 GMT
Author: markt
Date: Sat Oct 24 20:54:19 2009
New Revision: 829449

URL: http://svn.apache.org/viewvc?rev=829449&view=rev
Log:
Fix Eclipse niggles in the examples

Modified:
    tomcat/trunk/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.java?rev=829449&r1=829448&r2=829449&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/async/AsyncStockServlet.java Sat Oct 24
20:54:19 2009
@@ -61,7 +61,7 @@
             actx.addListener(this);
             resp.setContentType("text/plain");
             clients.add(actx);
-            if (this.clientcount.incrementAndGet()==1) {
+            if (clientcount.incrementAndGet()==1) {
                 ticker.addTickListener(this);
             }
         } else {

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java?rev=829449&r1=829448&r2=829449&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java Sat Oct 24 20:54:19
2009
@@ -40,7 +40,7 @@
             try {
                 ticker.join();
             }catch (InterruptedException x) {
-                ticker.interrupted();
+                Thread.interrupted();
             }
             
             ticker = null;



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message