tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anat...@apache.org
Subject incubator-tamaya git commit: Fixed checkstyle issues ;)
Date Sun, 11 Jan 2015 17:03:28 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master e12eacf68 -> 6c00b06d8


Fixed checkstyle issues ;)


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

Branch: refs/heads/master
Commit: 6c00b06d8beeaa8289b7567d91d7770db05432cf
Parents: e12eacf
Author: anatole <anatole@apache.org>
Authored: Sun Jan 11 18:03:22 2015 +0100
Committer: anatole <anatole@apache.org>
Committed: Sun Jan 11 18:03:22 2015 +0100

----------------------------------------------------------------------
 .../tamaya/resolver/internal/DefaultExpressionEvaluator.java   | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/6c00b06d/modules/resolver/src/main/java/org/apache/tamaya/resolver/internal/DefaultExpressionEvaluator.java
----------------------------------------------------------------------
diff --git a/modules/resolver/src/main/java/org/apache/tamaya/resolver/internal/DefaultExpressionEvaluator.java
b/modules/resolver/src/main/java/org/apache/tamaya/resolver/internal/DefaultExpressionEvaluator.java
index 6fc5da2..426cd71 100644
--- a/modules/resolver/src/main/java/org/apache/tamaya/resolver/internal/DefaultExpressionEvaluator.java
+++ b/modules/resolver/src/main/java/org/apache/tamaya/resolver/internal/DefaultExpressionEvaluator.java
@@ -183,8 +183,7 @@ public class DefaultExpressionEvaluator implements ExpressionEvaluator
{
                 case "\\":
                     if(!escaped) {
                         escaped = true;
-                    }
-                    else {
+                    } else {
                         expression.append(token);
                         continue;
                     }
@@ -204,8 +203,7 @@ public class DefaultExpressionEvaluator implements ExpressionEvaluator
{
                 case "}":
                     if(escaped) {
                         expression.append(token);
-                    }
-                    else{
+                    } else{
                         return expression.toString();
                     }
                     break;


Mime
View raw message