title: error passing value on temp class
body: <pre><code>package org.apache.commons.net.util;
  
  import java.security.GeneralSecurityException;
  import java.security.KeyStore;
  import java.security.cert.CertificateException;
  import java.security.cert.X509Certificate;
  import javax.net.ssl.TrustManagerFactory;
  import javax.net.ssl.X509TrustManager;
  
  public final class TrustManagerUtils {
  
     private static final X509TrustManager ACCEPT_ALL=null;
     private static final X509TrustManager CHECK_SERVER_VALIDITY=null;
     private static final X509Certificate[] EMPTY_X509CERTIFICATE_ARRAY=null;
  
  
     static void method_59() {
        EMPTY_X509CERTIFICATE_ARRAY = new X509Certificate[0];
        TrustManagerUtils.TrustManager var10000 = new TrustManagerUtils.TrustManager;
        var10000.method_400(false);
        ACCEPT_ALL = var10000;
        var10000 = new TrustManagerUtils.TrustManager;
        var10000.method_400(true);
        CHECK_SERVER_VALIDITY = var10000;
     }
  
  
     public void method_60() {
      //.method_60();
     }
  
     public static X509TrustManager getAcceptAllTrustManager() {
        return ACCEPT_ALL;
     }
  
     public static X509TrustManager getDefaultTrustManager(KeyStore var0) throws GeneralSecurityException {
        TrustManagerFactory var1 = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm());
        var1.init(var0);
        return (X509TrustManager)var1.getTrustManagers()[0];
     }
  
     public static X509TrustManager getValidateServerCertificateTrustManager() {
        return CHECK_SERVER_VALIDITY;
     }
  
     private static class TrustManager implements X509TrustManager {
  
        private boolean checkServerValidity;
  
  
  
        void method_400(boolean var1) {
  
           this.checkServerValidity = var1;
        }
  
        public void checkClientTrusted(X509Certificate[] var1, String var2) {}
  
        public void checkServerTrusted(X509Certificate[] var1, String var2) throws CertificateException {
           if(this.checkServerValidity) {
              for(int var3 = 0; var3 &lt; var1.length; ++var3) {
                 var1[var3].checkValidity();
              }
           }
  
        }
  
        public X509Certificate[] getAcceptedIssuers() {
           return TrustManagerUtils.EMPTY_X509CERTIFICATE_ARRAY;
        }
     }
  }
  </code></pre>
  
  <p>error on the line of </p>
  
  <pre><code> TrustManagerUtils.TrustManager var10000 = new TrustManagerUtils.TrustManager;
    var10000.method_400(false);
    ACCEPT_ALL = var10000;
    var10000 = new TrustManagerUtils.TrustManager;
    var10000.method_400(true);
  </code></pre>
  
  <p>its shows that it cant return the new temp class I created and swap back when finish bring the value.
  I want to call back the class from trustmanager into a temp var1000 to use method _400 but its cant pass.</p>