diff --git a/src/org/jgroups/protocols/TP.java b/src/org/jgroups/protocols/TP.java index 2542aabf5f..e3acfeaf7c 100644 --- a/src/org/jgroups/protocols/TP.java +++ b/src/org/jgroups/protocols/TP.java @@ -878,7 +878,7 @@ public Map handleProbe(String... keys) { StringBuilder sb=new StringBuilder(); for(DiagnosticsHandler.ProbeHandler handler : diag_handler.getProbeHandlers()) { String[] tmp=handler.supportedKeys(); - if(tmp != null && tmp.length > 0) { + if(tmp != null) { for(String s : tmp) sb.append(s).append(" "); }