diff --git a/smart-client-jersey/src/main/java/com/emc/rest/smart/jersey/SizeOverrideWriter.java b/smart-client-jersey/src/main/java/com/emc/rest/smart/jersey/SizeOverrideWriter.java index 289b968..ac39811 100644 --- a/smart-client-jersey/src/main/java/com/emc/rest/smart/jersey/SizeOverrideWriter.java +++ b/smart-client-jersey/src/main/java/com/emc/rest/smart/jersey/SizeOverrideWriter.java @@ -55,7 +55,6 @@ public boolean isWriteable(Class type, Type genericType, Annotation[] annotat public long getSize(T t, Class type, Type genericType, Annotation[] annotations, MediaType mediaType) { Long size = entitySize.get(); if (size != null) { - entitySize.remove(); return size; } return delegate.getSize(t, type, genericType, annotations, mediaType);