public final class GpPlugin extends AbstractPlugin {
private static final Logger LOG = LoggerFactory.getLogger(GpPlugin.class);
private final static String PROTOCOL_NAME = "GP";
private final static int DEFAULT_RETRY = 0;
private final static int DEFAULT_TIMEOUT = 5000; // in milliseconds
<BUG>private boolean isServer(InetAddress host, int retry, int timeout, String script, String args, RE regex, StringBuffer bannerResult, String hoption, String toption) {
</BUG>
boolean isAServer = false;
LOG.debug("poll: address = {}, script = {}, arguments = {}, timeout(seconds) = {}, retry = {}", retry, InetAddressUtils.str(host), script, args, timeout);
for (int attempts = 0; attempts <= retry && !isAServer; attempts++) {

public final class GpPlugin extends AbstractPlugin {
private static final Logger LOG = LoggerFactory.getLogger(GpPlugin.class);
private final static String PROTOCOL_NAME = "GP";
private final static int DEFAULT_RETRY = 0;
private final static int DEFAULT_TIMEOUT = 5000; // in milliseconds
private boolean isServer(InetAddress host, int retry, int timeout, String script, String args, Pattern regex, StringBuffer bannerResult, String hoption, String toption) {
boolean isAServer = false;
LOG.debug("poll: address = {}, script = {}, arguments = {}, timeout(seconds) = {}, retry = {}", retry, InetAddressUtils.str(host), script, args, timeout);
for (int attempts = 0; attempts <= retry && !isAServer; attempts++) {
