You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by tb...@apache.org on 2013/12/06 17:53:13 UTC

[31/50] [abbrv] git commit: [OLINGO-73] Minor fix for null inline count

[OLINGO-73] Minor fix for null inline count


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/e68e383d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/tree/e68e383d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/diff/e68e383d

Branch: refs/heads/ODataServlet
Commit: e68e383d87e22f51d7b5fd6af94a3203d0ab2ec4
Parents: 8be1f9b
Author: Christian Amend <ch...@apache.org>
Authored: Tue Dec 3 14:10:05 2013 +0100
Committer: Tamara Boehm <ta...@sap.com>
Committed: Fri Dec 6 17:51:36 2013 +0100

----------------------------------------------------------------------
 .../apache/olingo/odata2/core/ep/consumer/XmlFeedConsumer.java    | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/e68e383d/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlFeedConsumer.java
----------------------------------------------------------------------
diff --git a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlFeedConsumer.java b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlFeedConsumer.java
index 02562fb..5cd1258 100644
--- a/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlFeedConsumer.java
+++ b/odata2-lib/odata-core/src/main/java/org/apache/olingo/odata2/core/ep/consumer/XmlFeedConsumer.java
@@ -117,10 +117,7 @@ public class XmlFeedConsumer {
           } catch (NumberFormatException e) {
             throw new EntityProviderException(EntityProviderException.INLINECOUNT_INVALID.addContent(""), e);
           }
-        } catch (NumberFormatException e) {
-          throw new EntityProviderException(EntityProviderException.INLINECOUNT_INVALID.addContent(""), e);
         }
-
       } else if (FormatXml.ATOM_LINK.equals(reader.getLocalName())) {
         reader.require(XMLStreamConstants.START_ELEMENT, Edm.NAMESPACE_ATOM_2005, FormatXml.ATOM_LINK);