put(designDocument);
}
}
public DesignDocument get(String id) {
assertNotEmpty(id, "id");
<BUG>id = CouchDbUtil.ensureDesignPrefix(id);</BUG>
return db.find(DesignDocument.class, id);
}
public DesignDocument get(String id, String rev) {
assertNotEmpty(id, "id");
assertNotEmpty(id, "rev");
<BUG>id = CouchDbUtil.ensureDesignPrefix(id);</BUG>
return db.find(DesignDocument.class, id, rev);

put(designDocument);
}
}
public DesignDocument get(String id) {
assertNotEmpty(id, "id");
return db.find(DesignDocument.class, id);
}
public DesignDocument get(String id, String rev) {
assertNotEmpty(id, "id");
