You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by mi...@apache.org on 2015/08/04 14:12:47 UTC
[2/2] olingo-odata2 git commit: [OLINGO-733] Minor code clean up
[OLINGO-733] Minor code clean up
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata2/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/23ee868b
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata2/tree/23ee868b
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata2/diff/23ee868b
Branch: refs/heads/master
Commit: 23ee868b0c811e01f7c09a00a14610aa785d4d32
Parents: 80b32fb
Author: Michael Bolz <mi...@sap.com>
Authored: Tue Aug 4 14:05:38 2015 +0200
Committer: Michael Bolz <mi...@sap.com>
Committed: Tue Aug 4 14:05:38 2015 +0200
----------------------------------------------------------------------
.../odata2/core/batch/BatchResponseWriter.java | 26 --------------------
1 file changed, 26 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/23ee868b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/BatchResponseWriter.java
----------------------------------------------------------------------
diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/BatchResponseWriter.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/BatchResponseWriter.java
index 7ca0260..0ef6f0e 100644
--- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/BatchResponseWriter.java
+++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/BatchResponseWriter.java
@@ -130,30 +130,4 @@ public class BatchResponseWriter {
}
}
}
-
-// private String readBody(final InputStream in) throws BatchException {
-// byte[] tmp = new byte[2048];
-// int count;
-// BatchException cachedException = null;
-// StringBuffer b = new StringBuffer();
-// try {
-// count = in.read(tmp);
-// while (count >= 0) {
-// b.append(new String(tmp, 0, count, BatchHelper.DEFAULT_ENCODING));
-// count = in.read(tmp);
-// }
-// } catch (IOException e) {
-// cachedException = new BatchException(ODataMessageException.COMMON, e);
-// throw cachedException;
-// } finally {// NOPMD (suppress DoNotThrowExceptionInFinally)
-// try {
-// in.close();
-// } catch (IOException e) {
-// if (cachedException != null) {
-// throw cachedException;
-// }
-// }
-// }
-// return b.toString();
-// }
}