Permalink
Browse files

fixed premature EOF in update

  • Loading branch information...
1 parent 8b37536 commit 510519b0c92ef5506eebeea202a8f8179a165c4e Shwetha GS committed May 31, 2012
@@ -131,7 +131,7 @@ public APIResult delete(@Context HttpServletRequest request, @Dimension("entityT
final HttpServletRequest bufferedRequest = new BufferedRequest(request);
final String[] applicableColos = getApplicableColos(type, entity);
if (!embeddedMode) {
- super.delete(request, type, entity, currentColo);
+ super.delete(bufferedRequest, type, entity, currentColo);
}
return new EntityProxy(type, entity) {
@@ -164,7 +164,7 @@ public APIResult update(@Context HttpServletRequest request, @Dimension("entityT
final HttpServletRequest bufferedRequest = new BufferedRequest(request);
String[] oldColos = getApplicableColos(type, entityName);
if (!embeddedMode) {
- super.update(request, type, entityName, currentColo);
+ super.update(bufferedRequest, type, entityName, currentColo);
}
String[] newColos = getApplicableColos(type, entityName);
final String[] mergedColos = addColos(oldColos, newColos);

0 comments on commit 510519b

Please sign in to comment.