tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject [18/50] [abbrv] incubator-tamaya-extensions git commit: TAMAYA-149: Fixed invalid return on URL resolver. Added possibility to replace unresolved values with just an empty String as return value.
Date Fri, 16 Sep 2016 22:03:28 GMT
TAMAYA-149: Fixed invalid return on URL resolver. Added possibility to replace unresolved values
with just an empty String as return value.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/commit/bbb8308a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/tree/bbb8308a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/diff/bbb8308a

Branch: refs/heads/master
Commit: bbb8308a5328e1299b97ca834b4470faf9f91771
Parents: 770dc1b
Author: anatole <anatole@apache.org>
Authored: Thu May 5 19:02:29 2016 +0200
Committer: anatole <anatole@apache.org>
Committed: Thu May 5 19:02:29 2016 +0200

----------------------------------------------------------------------
 .../java/org/apache/tamaya/inject/internal/InjectionHelper.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya-extensions/blob/bbb8308a/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
----------------------------------------------------------------------
diff --git a/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
b/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
index ee978a5..19d2166 100644
--- a/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
+++ b/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
@@ -226,7 +226,7 @@ final class InjectionHelper {
         }
         ExpressionEvaluator evaluator = ServiceContextManager.getServiceContext().getService(ExpressionEvaluator.class);
         if (evaluator != null) {
-            return evaluator.evaluateExpression("<injection>", expression, maskNotFound);
+            return evaluator.evaluateExpression("<injection>", expression, true);
         }
         return expression;
     }


Mime
View raw message