You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by sk...@apache.org on 2014/02/17 13:40:51 UTC
[24/51] [abbrv] git commit: [OLINGO-69] EdmProvider now returns null
for unimplemented methods
[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/9e3284bd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/tree/9e3284bd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-olingo-odata2/diff/9e3284bd
Branch: refs/heads/master
Commit: 9e3284bd63aecaf1052d387e2d15cba19f53fad8
Parents: 12fd10f
Author: Christian Amend <ch...@apache.org>
Authored: Fri Dec 6 14:51:06 2013 +0100
Committer: Tamara Boehm <ta...@sap.com>
Committed: Fri Dec 6 17:51:38 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/9e3284bd/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;
}
/**