if (obj == null)
return "other is null";
if (!(obj instanceof GeoServerInfo)) {
return "bad class";
}
final GeoServerInfo other = (GeoServerInfo) obj;
String err;
err = getDiff("pw", adminPassword, other.getAdminPassword());
if (err != null)
return err;
err = getDiff("admin", adminUsername, other.getAdminUsername());
if (err != null)
return err;
err = getDiff("charset", charset, other.getCharset());
if (err != null)
return err;
if (!contact.equals(other.getContact()))
return "contactInfo::";
err = getDiff("id", id, other.getId());
if (err != null)
return err;
// err = getDiff("loglev", loggingLevel, other.getLoggingLevel());
// if(err != null)
// return err;
// err = getDiff("logloc", loggingLocation, other.getLoggingLocation());
// if(err != null)
// return err;
// err = getDiff("maxfeat", ""+maxFeatures, ""+other.getMaxFeatures());
// if(err != null)
// return err;
err = getDiff("numdec", "" + numDecimals, "" + other.getNumDecimals());
if (err != null)
return err;
err = getDiff("olres", onlineResource, other.getOnlineResource());
if (err != null)
return err;
err = getDiff("proxybu", proxyBaseUrl, other.getProxyBaseUrl());
if (err != null)
return err;
err = getDiff("schemabu", schemaBaseUrl, other.getSchemaBaseUrl());
if (err != null)
return err;
// err = getDiff("stdout", ""+stdOutLogging, ""+other.isStdOutLogging());
// if(err != null)
// return err;
err = getDiff("title", title, other.getTitle());
if (err != null)
return err;
err = getDiff("updateSeq", "" + updateSequence, "" + other.getUpdateSequence());
if (err != null)
return err;
err = getDiff("verb", "" + verbose, "" + other.isVerbose());
if (err != null)
return err;
err = getDiff("verbex", "" + verboseExceptions, "" + other.isVerboseExceptions());
return err;
}