Skip to content

Commit

Permalink
ns
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jan 29, 2024
1 parent 8a4cf28 commit 77d967f
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/org/jgroups/util/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -3471,7 +3471,7 @@ public static Method[] getAllMethods(Class<?> target) {
}
catch(SecurityException e) {
// if it runs in an applet context, it won't be able to retrieve methods from superclasses that belong
// to the java VM and it will raise a security exception, so we catch it here.
// to the java VM, and it will raise a security exception, so we catch it here.
superclass=null;
}
}
Expand Down Expand Up @@ -3787,7 +3787,7 @@ public static List<String> parseCommaDelimitedStrings(String l) {
}

/**
* Input is "daddy[8880],sindhu[8880],camille[5555]. Returns a list of IpAddresses
* Input is "daddy[8880],sindhu[8880],camille[5555]". Returns a list of IpAddresses
*/
public static List<PhysicalAddress> parseCommaDelimitedHosts(String hosts,int port_range) throws UnknownHostException {
StringTokenizer tok=hosts != null? new StringTokenizer(hosts,",") : null;
Expand Down Expand Up @@ -3853,7 +3853,7 @@ public static boolean parseCommaDelimitedHostsInto(final Collection<PhysicalAddr
}

/**
* Input is "daddy[8880],sindhu[8880],camille[5555]. Returns a list of InetSocketAddress. If a hostname doesn't
* Input is "daddy[8880],sindhu[8880],camille[5555]". Returns a list of InetSocketAddress. If a hostname doesn't
* resolve, then we'll use the hostname to create an address: new InetSocketAddress(host, port)
*/
public static List<InetSocketAddress> parseCommaDelimitedHosts2(String hosts,int port_range) throws UnknownHostException {
Expand Down Expand Up @@ -4604,12 +4604,7 @@ public static boolean isUp(NetworkInterface ni) throws SocketException {



/**
* A function to check if an interface supports an IP version (i.e has addresses
* defined for that IP version).
* @param intf
* @return
*/
/** A function to check if an interface supports an IP version (i.e. has addresses defined for that IP version) */
public static boolean interfaceHasIPAddresses(NetworkInterface intf,StackType ip_version) throws UnknownHostException {
boolean supportsVersion=false;
if(intf != null) {
Expand Down

0 comments on commit 77d967f

Please sign in to comment.