From 855a586b3dad92de0415cd7713dd8f7e5970681e Mon Sep 17 00:00:00 2001 From: Christian Amend Date: Mon, 7 Apr 2014 13:52:45 +0200 Subject: [PATCH] [OLINGO-202] Remove caching by by name for get with key --- .../java/org/apache/olingo/commons/core/edm/AbstractEdm.java | 5 ----- 1 file changed, 5 deletions(-) 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 1367e0ea8..98a22c5e4 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()); - } - unboundFunctionsByName.get(functionFqn).add(function); } }