| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2011-2014 ForgeRock AS |
| | | * Portions Copyright 2011-2015 ForgeRock AS |
| | | */ |
| | | package org.opends.server.replication.protocol; |
| | | |
| | |
| | | final SortedSet<String> sslCipherSuites, |
| | | final boolean sslEncryption) throws ConfigException |
| | | { |
| | | if (sslProtocols == null || sslProtocols.size() == 0) |
| | | if (sslProtocols == null || sslProtocols.isEmpty()) |
| | | { |
| | | this.sslProtocols = null; |
| | | } |
| | |
| | | sslProtocols.toArray(this.sslProtocols); |
| | | } |
| | | |
| | | if (sslCipherSuites == null || sslCipherSuites.size() == 0) |
| | | if (sslCipherSuites == null || sslCipherSuites.isEmpty()) |
| | | { |
| | | this.sslCipherSuites = null; |
| | | } |