You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@olingo.apache.org by il...@apache.org on 2014/04/07 13:58:15 UTC

[2/2] git commit: [OLINGO-202] Remove caching by by name for get with key

[OLINGO-202] Remove caching by by name for get with key


Project: http://git-wip-us.apache.org/repos/asf/olingo-odata4/repo
Commit: http://git-wip-us.apache.org/repos/asf/olingo-odata4/commit/855a586b
Tree: http://git-wip-us.apache.org/repos/asf/olingo-odata4/tree/855a586b
Diff: http://git-wip-us.apache.org/repos/asf/olingo-odata4/diff/855a586b

Branch: refs/heads/master
Commit: 855a586b3dad92de0415cd7713dd8f7e5970681e
Parents: 081df2a
Author: Christian Amend <ch...@apache.org>
Authored: Mon Apr 7 13:52:45 2014 +0200
Committer: Christian Amend <ch...@apache.org>
Committed: Mon Apr 7 13:52:45 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/olingo/commons/core/edm/AbstractEdm.java    | 5 -----
 1 file changed, 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/olingo-odata4/blob/855a586b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdm.java
----------------------------------------------------------------------
diff --git a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdm.java b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdm.java
index 1367e0e..98a22c5 100644
--- a/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdm.java
+++ b/lib/commons-core/src/main/java/org/apache/olingo/commons/core/edm/AbstractEdm.java
@@ -287,11 +287,6 @@ public abstract class AbstractEdm implements Edm {
       function = createUnboundFunction(functionFqn, parameterNames);
       if (function != null) {
         unboundFunctionsByKey.put(key, function);
-
-        if (!unboundFunctionsByName.containsKey(functionFqn)) {
-          unboundFunctionsByName.put(functionFqn, new ArrayList<EdmFunction>());
-        }
-        unboundFunctionsByName.get(functionFqn).add(function);
       }
     }