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/07/20 22:36:44 UTC
olingo-odata2 git commit: [OLINGO-733] Fixed checkstyle issue
Repository: olingo-odata2
Updated Branches:
refs/heads/master 07b2e6441 -> bc506e2a8
[OLINGO-733] Fixed checkstyle issue
Project: http://git-wip-us.apache.org/repos/asf/olingo-odata2/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata2/commit/bc506e2a
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata2/tree/bc506e2a
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata2/diff/bc506e2a
Branch: refs/heads/master
Commit: bc506e2a8fca964fdb3888cd61b91d0d4f719a2b
Parents: 07b2e64
Author: mibo <mi...@mirb.de>
Authored: Mon Jul 20 22:35:32 2015 +0200
Committer: mibo <mi...@mirb.de>
Committed: Mon Jul 20 22:35:32 2015 +0200
----------------------------------------------------------------------
.../apache/olingo/odata2/core/batch/v2/BatchParserCommon.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/olingo-odata2/blob/bc506e2a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java
----------------------------------------------------------------------
diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java
index 66d4a2c..47b169c 100644
--- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java
+++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/batch/v2/BatchParserCommon.java
@@ -86,7 +86,8 @@ public class BatchParserCommon {
* @return Content of BatchQueryOperation as InputStream in according charset and length
* @throws BatchException if something goes wrong
*/
- public static InputStream convertToInputStream(final String contentType, final List<Line> body, final int contentLength)
+ public static InputStream convertToInputStream(final String contentType, final List<Line> body,
+ final int contentLength)
throws BatchException {
Charset charset = BatchHelper.extractCharset(contentType);
final String message;
@@ -140,7 +141,8 @@ public class BatchParserCommon {
}
if (messageParts.size() == 0) {
- throw new BatchException(BatchException.NO_MATCH_WITH_BOUNDARY_STRING.addContent(boundary).addContent(lineNumber));
+ throw new BatchException(BatchException.NO_MATCH_WITH_BOUNDARY_STRING
+ .addContent(boundary).addContent(lineNumber));
}
return messageParts;