You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hc.apache.org by gg...@apache.org on 2017/02/21 08:45:54 UTC

svn commit: r1783844 - /httpcomponents/httpclient/trunk/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/TrustAllStrategy.java

Author: ggregory
Date: Tue Feb 21 08:45:54 2017
New Revision: 1783844

URL: http://svn.apache.org/viewvc?rev=1783844&view=rev
Log:
Tab police.

Modified:
    httpcomponents/httpclient/trunk/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/TrustAllStrategy.java

Modified: httpcomponents/httpclient/trunk/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/TrustAllStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/trunk/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/TrustAllStrategy.java?rev=1783844&r1=1783843&r2=1783844&view=diff
==============================================================================
--- httpcomponents/httpclient/trunk/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/TrustAllStrategy.java (original)
+++ httpcomponents/httpclient/trunk/httpclient5/src/main/java/org/apache/hc/client5/http/ssl/TrustAllStrategy.java Tue Feb 21 08:45:54 2017
@@ -41,11 +41,11 @@ import org.apache.hc.core5.ssl.TrustStra
  */
 public class TrustAllStrategy implements TrustStrategy {
 
-	public static final TrustAllStrategy INSTANCE = new TrustAllStrategy();
+    public static final TrustAllStrategy INSTANCE = new TrustAllStrategy();
 
-	@Override
-	public boolean isTrusted(final X509Certificate[] chain, final String authType) throws CertificateException {
-		return true;
-	}
+    @Override
+    public boolean isTrusted(final X509Certificate[] chain, final String authType) throws CertificateException {
+        return true;
+    }
 
 }