olingo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chri...@apache.org
Subject git commit: [OLINGO-39] Fix checkstyle issues for previous commit
Date Mon, 21 Oct 2013 14:06:34 GMT
Updated Branches:
  refs/heads/master c3564506b -> 625e7543a


[OLINGO-39] Fix checkstyle issues for previous commit


Project: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/commit/625e7543
Tree: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/tree/625e7543
Diff: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/diff/625e7543

Branch: refs/heads/master
Commit: 625e7543a74153fa70211ade522186597704dfda
Parents: c356450
Author: Christian Amend <chrisam@apache.org>
Authored: Mon Oct 21 16:04:00 2013 +0200
Committer: Christian Amend <chrisam@apache.org>
Committed: Mon Oct 21 16:04:00 2013 +0200

----------------------------------------------------------------------
 .../olingo/odata2/core/ep/consumer/XmlMetadataConsumer.java       | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/625e7543/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlMetadataConsumer.java
----------------------------------------------------------------------
diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlMetadataConsumer.java
b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlMetadataConsumer.java
index e3e5fc3..028a219 100644
--- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlMetadataConsumer.java
+++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlMetadataConsumer.java
@@ -701,7 +701,8 @@ public class XmlMetadataConsumer {
         facets.setNullable("true".equalsIgnoreCase(isNullable));
       }
       if (maxLength != null) {
-        if (XmlMetadataConstants.EDM_PROPERTY_MAX_LENGTH_MAX_VALUE_FIRST_UPPERCASE.equals(maxLength)
|| XmlMetadataConstants.EDM_PROPERTY_MAX_LENGTH_MAX_VALUE_LOWERCASE.equals(maxLength)) {
+        if (XmlMetadataConstants.EDM_PROPERTY_MAX_LENGTH_MAX_VALUE_FIRST_UPPERCASE.equals(maxLength)
+            || XmlMetadataConstants.EDM_PROPERTY_MAX_LENGTH_MAX_VALUE_LOWERCASE.equals(maxLength))
{
           facets.setMaxLength(Integer.MAX_VALUE);
         } else {
           facets.setMaxLength(Integer.parseInt(maxLength));


Mime
View raw message