hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r765676 - /httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java
Date Thu, 16 Apr 2009 16:16:55 GMT
Author: sebb
Date: Thu Apr 16 16:16:54 2009
New Revision: 765676

URL: http://svn.apache.org/viewvc?rev=765676&view=rev
Log:
Make unchanging fields final

Modified:
    httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java

Modified: httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java?rev=765676&r1=765675&r2=765676&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient/src/test/java/org/apache/http/impl/conn/tsccm/AwaitThread.java
Thu Apr 16 16:16:54 2009
@@ -40,9 +40,9 @@
  */
 public class AwaitThread extends Thread {
 
-    protected WaitingThread wait_object;
-    protected Lock          wait_lock;
-    protected Date          wait_deadline;
+    protected final WaitingThread wait_object;
+    protected final Lock          wait_lock;
+    protected final Date          wait_deadline;
 
     protected volatile boolean       waiting;
     protected volatile Throwable     exception;



Mime
View raw message