@Test public void addProtocolsAddsHttpsIfSslPresent() { assertThat(PaxosRemotingUtils.addProtocols(SSL_TIMELOCK, ImmutableList.of("foo:1", "bar:2"))) .isEqualTo(ImmutableList.of("https: }
public static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses) { return addresses.stream() .map(address -> addProtocol(install, address)) .collect(Collectors.toList()); }
PaxosRemotingUtils { public static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses) { return addresses.stream() .map(address -> addProtocol(install, address)) .collect(Collectors.toList()); } }
PaxosRemotingUtils { public static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses) { return addresses.stream() .map(address -> addProtocol(install, address)) .collect(Collectors.toList()); } private  PaxosRemotingUtils(); }
PaxosRemotingUtils { public static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses) { return addresses.stream() .map(address -> addProtocol(install, address)) .collect(Collectors.toList()); } private  PaxosRemotingUtils(); static int getQuorumSize(Collection<T> elements); static List<String> getRemoteServerPaths(TimeLockInstallConfiguration install); static ImmutableList<String> getClusterAddresses(TimeLockInstallConfiguration install); static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install); static ClusterConfiguration getClusterConfiguration(TimeLockInstallConfiguration install); static Optional<SslConfiguration> getSslConfigurationOptional(TimeLockInstallConfiguration install); static String addProtocol(TimeLockInstallConfiguration install, String address); static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses); static URL convertAddressToUrl(TimeLockInstallConfiguration install, String address); static List<URL> convertAddressesToUrls(TimeLockInstallConfiguration install, List<String> addresses); }
PaxosRemotingUtils { public static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses) { return addresses.stream() .map(address -> addProtocol(install, address)) .collect(Collectors.toList()); } private  PaxosRemotingUtils(); static int getQuorumSize(Collection<T> elements); static List<String> getRemoteServerPaths(TimeLockInstallConfiguration install); static ImmutableList<String> getClusterAddresses(TimeLockInstallConfiguration install); static List<String> getRemoteServerAddresses(TimeLockInstallConfiguration install); static ClusterConfiguration getClusterConfiguration(TimeLockInstallConfiguration install); static Optional<SslConfiguration> getSslConfigurationOptional(TimeLockInstallConfiguration install); static String addProtocol(TimeLockInstallConfiguration install, String address); static List<String> addProtocols(TimeLockInstallConfiguration install, List<String> addresses); static URL convertAddressToUrl(TimeLockInstallConfiguration install, String address); static List<URL> convertAddressesToUrls(TimeLockInstallConfiguration install, List<String> addresses);  }