hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1206727 - /httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Stats.java
Date Sun, 27 Nov 2011 14:56:02 GMT
Author: sebb
Date: Sun Nov 27 14:56:02 2011
New Revision: 1206727

URL: http://svn.apache.org/viewvc?rev=1206727&view=rev
Log:
setFailureCount is not thread-safe, but is not used AFAICT so remove it

Modified:
    httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Stats.java

Modified: httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Stats.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Stats.java?rev=1206727&r1=1206726&r2=1206727&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Stats.java
(original)
+++ httpcomponents/httpclient/trunk/httpclient-benchmark/src/main/java/org/apache/http/client/benchmark/Stats.java
Sun Nov 27 14:56:02 2011
@@ -75,10 +75,6 @@ public class Stats {
         return failureCount;
     }
 
-    public void setFailureCount(int failureCount) {
-        this.failureCount = failureCount;
-    }
-
     public synchronized long getContentLen() {
         return contentLen;
     }



Mime
View raw message