tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anat...@apache.org
Subject [3/4] incubator-tamaya 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 Thu, 05 May 2016 17:04:54 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/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/c01e5873
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/c01e5873
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/c01e5873

Branch: refs/heads/master
Commit: c01e587323df7d5e99885baffe084813cf671592
Parents: dabb1b7
Author: anatole <anatole@apache.org>
Authored: Thu May 5 18:47:57 2016 +0200
Committer: anatole <anatole@apache.org>
Committed: Thu May 5 18:47:57 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/blob/c01e5873/modules/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
----------------------------------------------------------------------
diff --git a/modules/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
b/modules/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
index 418d51b..ee978a5 100644
--- a/modules/injection/src/main/java/org/apache/tamaya/inject/internal/InjectionHelper.java
+++ b/modules/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);
+            return evaluator.evaluateExpression("<injection>", expression, maskNotFound);
         }
         return expression;
     }


Mime
View raw message