hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1788703 - in /httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src: main/java/org/apache/http/osgi/impl/OSGiHttpRoutePlanner.java test/java/org/apache/http/osgi/impl/WeakListTest.java
Date Sun, 26 Mar 2017 02:08:16 GMT
Author: ggregory
Date: Sun Mar 26 02:08:15 2017
New Revision: 1788703

URL: http://svn.apache.org/viewvc?rev=1788703&view=rev
Log:
Use final.

Modified:
    httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/main/java/org/apache/http/osgi/impl/OSGiHttpRoutePlanner.java
    httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/test/java/org/apache/http/osgi/impl/WeakListTest.java

Modified: httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/main/java/org/apache/http/osgi/impl/OSGiHttpRoutePlanner.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/main/java/org/apache/http/osgi/impl/OSGiHttpRoutePlanner.java?rev=1788703&r1=1788702&r2=1788703&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/main/java/org/apache/http/osgi/impl/OSGiHttpRoutePlanner.java
(original)
+++ httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/main/java/org/apache/http/osgi/impl/OSGiHttpRoutePlanner.java
Sun Mar 26 02:08:15 2017
@@ -53,7 +53,7 @@ final class OSGiHttpRoutePlanner extends
                                                                   "([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\."
+
                                                                   "([01]?\\d\\d?|2[0-4]\\d|25[0-5])$");
 
-    private List<ProxyConfiguration> proxyConfigurations;
+    private final List<ProxyConfiguration> proxyConfigurations;
 
     public OSGiHttpRoutePlanner(final List<ProxyConfiguration> proxyConfigurations)
{
         super(null);

Modified: httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/test/java/org/apache/http/osgi/impl/WeakListTest.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/test/java/org/apache/http/osgi/impl/WeakListTest.java?rev=1788703&r1=1788702&r2=1788703&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/test/java/org/apache/http/osgi/impl/WeakListTest.java
(original)
+++ httpcomponents/httpclient/branches/4.6.x/httpclient-osgi/src/test/java/org/apache/http/osgi/impl/WeakListTest.java
Sun Mar 26 02:08:15 2017
@@ -53,7 +53,7 @@ public class WeakListTest {
         boolean thrown = false;
         try {
             it.next();
-        } catch (NoSuchElementException e) {
+        } catch (final NoSuchElementException e) {
             thrown = true;
         }
         assertTrue(thrown);



Mime
View raw message