You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2017/03/14 18:36:10 UTC
[17/24] struts git commit: Fixes small typos
Fixes small typos
Project: http://git-wip-us.apache.org/repos/asf/struts/repo
Commit: http://git-wip-us.apache.org/repos/asf/struts/commit/31ddb8b6
Tree: http://git-wip-us.apache.org/repos/asf/struts/tree/31ddb8b6
Diff: http://git-wip-us.apache.org/repos/asf/struts/diff/31ddb8b6
Branch: refs/heads/master
Commit: 31ddb8b6020b2d67c0e5a7ad11d9d3a8b0fbdbf9
Parents: f784a16
Author: Lukasz Lenart <lu...@apache.org>
Authored: Mon Mar 13 09:24:55 2017 +0100
Committer: Lukasz Lenart <lu...@apache.org>
Committed: Mon Mar 13 09:24:55 2017 +0100
----------------------------------------------------------------------
.../com/opensymphony/xwork2/util/LocalizedTextUtilTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/struts/blob/31ddb8b6/core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java
----------------------------------------------------------------------
diff --git a/core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java b/core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java
index e8dc982..6631815 100644
--- a/core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java
+++ b/core/src/test/java/com/opensymphony/xwork2/util/LocalizedTextUtilTest.java
@@ -200,7 +200,7 @@ public class LocalizedTextUtilTest extends XWorkTestCase {
}
public void testLocalizedDateFormatIsUsed() throws ParseException {
- localizedTextUtil.addDefaultResourceBundle("com/opensymphony/xwork2/util/localizedTextUtilTest");
+ LocalizedTextUtil.addDefaultResourceBundle("com/opensymphony/xwork2/util/LocalizedTextUtilTest");
Date date = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US).parse("01/01/2015");
Object[] params = new Object[]{ date };
String usDate = localizedTextUtil.findDefaultText("test.format.date", Locale.US, params);
@@ -210,7 +210,7 @@ public class LocalizedTextUtilTest extends XWorkTestCase {
}
public void testXW377() {
- localizedTextUtil.addDefaultResourceBundle("com/opensymphony/xwork2/util/localizedTextUtilTest");
+ LocalizedTextUtil.addDefaultResourceBundle("com/opensymphony/xwork2/util/LocalizedTextUtilTest");
String text = localizedTextUtil.findText(Bar.class, "xw377", ActionContext.getContext().getLocale(), "xw377", null, ActionContext.getContext().getValueStack());
assertEquals("xw377", text); // should not log
@@ -261,7 +261,7 @@ public class LocalizedTextUtilTest extends XWorkTestCase {
@Override
protected void tearDown() throws Exception {
super.tearDown();
- localizedTextUtil.clearDefaultResourceBundles();
+ LocalizedTextUtil.clearDefaultResourceBundles();
}
}