private static String getMembershipPortRangeString(int[] membershipPortRange) {
    String membershipPortRangeString = "";
    if (membershipPortRange != null && membershipPortRange.length == 2) {
      membershipPortRangeString = membershipPortRange[0] + "-" + membershipPortRange[1];
    }

    return membershipPortRangeString;
  }
Constructs a transport config given a collection of {@link DistributionLocatorId} instances.
geode-core/src/main/java/org/apache/geode/internal/admin/remote/RemoteTransportConfig.java