struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lukaszlen...@apache.org
Subject struts git commit: WW-4711 Disables searching stack by default
Date Sat, 12 Nov 2016 08:42:44 GMT
Repository: struts
Updated Branches:
  refs/heads/master a5817fecb -> a5092a24f


WW-4711 Disables searching stack by default


Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/a5092a24
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/a5092a24
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/a5092a24

Branch: refs/heads/master
Commit: a5092a24f20d541f4401e66bc1dca79fa86ce020
Parents: a5817fe
Author: Lukasz Lenart <lukaszlenart@apache.org>
Authored: Sat Nov 12 09:41:05 2016 +0100
Committer: Lukasz Lenart <lukaszlenart@apache.org>
Committed: Sat Nov 12 09:41:05 2016 +0100

----------------------------------------------------------------------
 core/src/main/java/org/apache/struts2/util/TextProviderHelper.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/struts/blob/a5092a24/core/src/main/java/org/apache/struts2/util/TextProviderHelper.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/struts2/util/TextProviderHelper.java b/core/src/main/java/org/apache/struts2/util/TextProviderHelper.java
index c6e9679..e66268d 100644
--- a/core/src/main/java/org/apache/struts2/util/TextProviderHelper.java
+++ b/core/src/main/java/org/apache/struts2/util/TextProviderHelper.java
@@ -49,7 +49,7 @@ public class TextProviderHelper {
      * @return the message if found, otherwise the defaultMessage
      */
     public static String getText(String key, String defaultMessage, List<Object> args,
ValueStack stack) {
-        return getText(key, defaultMessage, args, stack, true);
+        return getText(key, defaultMessage, args, stack, false);
     }
 
     /**


Mime
View raw message