From 77d967f4b5db250866a5c42674765d4d95880f8b Mon Sep 17 00:00:00 2001 From: Bela Ban Date: Mon, 29 Jan 2024 09:41:30 +0100 Subject: [PATCH] ns --- src/org/jgroups/util/Util.java | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/org/jgroups/util/Util.java b/src/org/jgroups/util/Util.java index dd10acdb5f..0d01f18fa1 100644 --- a/src/org/jgroups/util/Util.java +++ b/src/org/jgroups/util/Util.java @@ -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; } } @@ -3787,7 +3787,7 @@ public static List 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 parseCommaDelimitedHosts(String hosts,int port_range) throws UnknownHostException { StringTokenizer tok=hosts != null? new StringTokenizer(hosts,",") : null; @@ -3853,7 +3853,7 @@ public static boolean parseCommaDelimitedHostsInto(final Collection parseCommaDelimitedHosts2(String hosts,int port_range) throws UnknownHostException { @@ -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) {