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

git commit: [OLINGO-69] EdmProvider now returns null for unimplemented methods

Updated Branches:
  refs/heads/master c8e3ea58a -> e5a18378f


[OLINGO-69] EdmProvider now returns null for unimplemented methods


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

Branch: refs/heads/master
Commit: e5a18378f3638079f16a4c54ca18f7ed056e3144
Parents: c8e3ea5
Author: Christian Amend <ch...@apache.org>
Authored: Fri Dec 6 14:51:06 2013 +0100
Committer: Christian Amend <ch...@apache.org>
Committed: Fri Dec 6 14:52:00 2013 +0100

----------------------------------------------------------------------
 .../odata2/api/edm/provider/EdmProvider.java       | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/blob/e5a18378/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/EdmProvider.java
----------------------------------------------------------------------
diff --git a/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/EdmProvider.java b/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/EdmProvider.java
index b22531c..5795369 100644
--- a/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/EdmProvider.java
+++ b/odata2-lib/odata-api/src/main/java/org/apache/olingo/odata2/api/edm/provider/EdmProvider.java
@@ -22,7 +22,6 @@ import java.util.List;
 
 import org.apache.olingo.odata2.api.edm.FullQualifiedName;
 import org.apache.olingo.odata2.api.exception.ODataException;
-import org.apache.olingo.odata2.api.exception.ODataNotImplementedException;
 
 /**
  * Default EDM Provider which is to be extended by the application
@@ -38,7 +37,7 @@ public abstract class EdmProvider {
    * @throws ODataException
    */
   public EntityContainerInfo getEntityContainerInfo(final String name) throws ODataException {
-    throw new ODataNotImplementedException();
+    return null;
   }
 
   /**
@@ -48,7 +47,7 @@ public abstract class EdmProvider {
    * @throws ODataException
    */
   public EntityType getEntityType(final FullQualifiedName edmFQName) throws ODataException {
-    throw new ODataNotImplementedException();
+    return null;
   }
 
   /**
@@ -58,7 +57,7 @@ public abstract class EdmProvider {
    * @throws ODataException
    */
   public ComplexType getComplexType(final FullQualifiedName edmFQName) throws ODataException {
-    throw new ODataNotImplementedException();
+    return null;
   }
 
   /**
@@ -68,7 +67,7 @@ public abstract class EdmProvider {
    * @throws ODataException
    */
   public Association getAssociation(final FullQualifiedName edmFQName) throws ODataException {
-    throw new ODataNotImplementedException();
+    return null;
   }
 
   /**
@@ -79,7 +78,7 @@ public abstract class EdmProvider {
    * @throws ODataException
    */
   public EntitySet getEntitySet(final String entityContainer, final String name) throws ODataException {
-    throw new ODataNotImplementedException();
+    return null;
   }
 
   /**
@@ -94,7 +93,7 @@ public abstract class EdmProvider {
    */
   public AssociationSet getAssociationSet(final String entityContainer, final FullQualifiedName association,
       final String sourceEntitySetName, final String sourceEntitySetRole) throws ODataException {
-    throw new ODataNotImplementedException();
+    return null;
   }
 
   /**
@@ -105,7 +104,7 @@ public abstract class EdmProvider {
    * @throws ODataException
    */
   public FunctionImport getFunctionImport(final String entityContainer, final String name) throws ODataException {
-    throw new ODataNotImplementedException();
+    return null;
   }
 
   /**
@@ -114,7 +113,7 @@ public abstract class EdmProvider {
    * @throws ODataException
    */
   public List<Schema> getSchemas() throws ODataException {
-    throw new ODataNotImplementedException();
+    return null;
   }
 
   /**