private static ConfigurationServerSync deepCopy(ConfigurationServerSync source) { if (source == null) { return null; } ConfigurationServerSync copy = new ConfigurationServerSync(); copy.setResponseStatus(source.getResponseStatus()); copy.setConfDeltaBody(source.getConfDeltaBody()); copy.setConfSchemaBody(source.getConfSchemaBody()); return copy; }
private static ConfigurationSyncResponse convert(ConfigurationServerSync source) { if (source == null) { return null; } ConfigurationSyncResponse sync = new ConfigurationSyncResponse(); sync.setConfDeltaBody(source.getConfDeltaBody()); sync.setConfSchemaBody(source.getConfSchemaBody()); sync.setResponseStatus(convert(source.getResponseStatus())); return sync; }
&& response.getConfigurationSync().getResponseStatus() != SyncResponseStatus.NO_DELTA) { return true;