try { if (connectionInfo.getUseSSL()) { List<TrustManager> trustManagers = connectionInfo.getTrustManagers(); TrustManager[] trustManagerArr = null; if (null != trustManagers && trustManagers.size() > 0) {
try { if (connectionInfo.getUseSSL()) { List<TrustManager> trustManagers = connectionInfo.getTrustManagers(); TrustManager[] trustManagerArr = null; if (null != trustManagers && trustManagers.size() > 0) {
try { if (connectionInfo.getUseSSL()) { List<TrustManager> trustManagers = connectionInfo.getTrustManagers(); TrustManager [] trustManagerArr = null; if ( trustManagers.size() > 0 ) { //convert empty to null
/** * {@inheritDoc} */ @Override public boolean equals(Object o) { if (o instanceof RemoteFrameworkConnectionInfo) { RemoteFrameworkConnectionInfo other = (RemoteFrameworkConnectionInfo) o; if (!getHost().equals(other.getHost())) { return false; } if (getPort() != other.getPort()) { return false; } if (getUseSSL() != other.getUseSSL()) { return false; } if (!getTrustManagers().equals(other.getTrustManagers())) { return false; } if (!getKey().equals(other.getKey())) { return false; } if (getTimeout() != other.getTimeout()) { return false; } return true; } return false; }
/** * {@inheritDoc} */ @Override public boolean equals(Object o) { if (o instanceof RemoteFrameworkConnectionInfo) { RemoteFrameworkConnectionInfo other = (RemoteFrameworkConnectionInfo) o; if (!getHost().equals(other.getHost())) { return false; } if (getPort() != other.getPort()) { return false; } if (getUseSSL() != other.getUseSSL()) { return false; } if (!getTrustManagers().equals(other.getTrustManagers())) { return false; } if (!getKey().equals(other.getKey())) { return false; } if (getTimeout() != other.getTimeout()) { return false; } return true; } return false; }
return false; if (!getTrustManagers().equals(other.getTrustManagers())) { return false;