Skip to content

Commit

Permalink
Remove some dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
purplefox committed Oct 14, 2015
1 parent d1467a3 commit 3ceeafe
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions src/main/java/io/vertx/core/impl/VertxImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -329,25 +329,6 @@ public DnsClient createDnsClient(int port, String host) {
return new DnsClientImpl(this, port, host);
}

// private int getClusterPublicPort(VertxOptions options, int actualPort) {
// // We retain the old system property for backwards compat
// int publicPort = Integer.getInteger("vertx.cluster.public.port", options.getClusterPublicPort());
// if (publicPort == -1) {
// // Get the actual port, wildcard port of zero might have been specified
// publicPort = actualPort;
// }
// return publicPort;
// }
//
// private String getClusterPublicHost(VertxOptions options) {
// // We retain the old system property for backwards compat
// String publicHost = System.getProperty("vertx.cluster.public.host", options.getClusterPublicHost());
// if (publicHost == null) {
// publicHost = options.getClusterHost();
// }
// return publicHost;
// }

private VertxMetrics initialiseMetrics(VertxOptions options) {
if (options.getMetricsOptions() != null && options.getMetricsOptions().isEnabled()) {
ServiceLoader<VertxMetricsFactory> factories = ServiceLoader.load(VertxMetricsFactory.class);
Expand Down

0 comments on commit 3ceeafe

Please sign in to comment.