Boolean continuousBoolean = (Boolean) properties.get("continuous");
boolean continuous = (continuousBoolean != null && continuousBoolean.booleanValue());
Boolean cancelBoolean = (Boolean) properties.get("cancel");
boolean cancel = (cancelBoolean != null && cancelBoolean.booleanValue());
if (source == null || target == null) {
<BUG>throw new CouchbaseLiteException("source and target are both null", new Status(Status.BAD_REQUEST));
</BUG>
}
boolean push = false;
Database db = null;

Boolean continuousBoolean = (Boolean) properties.get("continuous");
boolean continuous = (continuousBoolean != null && continuousBoolean.booleanValue());
Boolean cancelBoolean = (Boolean) properties.get("cancel");
boolean cancel = (cancelBoolean != null && cancelBoolean.booleanValue());
if (source == null || target == null) {
throw new CouchbaseLiteException("Source and target are both null", new Status(Status.BAD_REQUEST));
}
boolean push = false;
Database db = null;
