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:46:08 UTC
svn commit: r1783845 -
/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/TrustAllStrategy.java
Author: ggregory
Date: Tue Feb 21 08:46:08 2017
New Revision: 1783845
URL: http://svn.apache.org/viewvc?rev=1783845&view=rev
Log:
Tab police.
Modified:
httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/TrustAllStrategy.java
Modified: httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/TrustAllStrategy.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/TrustAllStrategy.java?rev=1783845&r1=1783844&r2=1783845&view=diff
==============================================================================
--- httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/TrustAllStrategy.java (original)
+++ httpcomponents/httpclient/branches/4.5.x/httpclient/src/main/java/org/apache/http/conn/ssl/TrustAllStrategy.java Tue Feb 21 08:46:08 2017
@@ -38,11 +38,11 @@ import java.security.cert.X509Certificat
*/
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;
+ }
}