Details
Description
- Make class as final.
- Add a private constructor.
- Make the following public static variables as private
public static final int HOSTCERT_NO_CHECK = 0; public static final int HOSTCERT_MIN_CHECK = 1; public static final int HOSTCERT_NORMAL_CHECK = 2;
- Add getHostCertNoCheck(), getHostCertMinCheck() and getHostCertNormalCheck() public static methods and use them in following classes, Also check if any class remains;
HttpClient.java URLConnector.java AliasSupportedTransportFactory.java WidgetMacroLibraryTests.java OagisServices.java
- Move following static class at top and make it private.
static class TrustAnyManager implements X509TrustManager