From 22cb8c7e7dad955eb6077cc8b775ba67274e2b31 Mon Sep 17 00:00:00 2001 From: Lukasz Lenart Date: Wed, 4 Nov 2015 18:09:55 +0100 Subject: [PATCH] WW-4562 Upgrades OGNL to latest 3.0.13 version --- pom.xml | 2 +- .../java/com/opensymphony/xwork2/ognl/OgnlUtilTest.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index c6bd7ad10..30ebfa89e 100644 --- a/pom.xml +++ b/pom.xml @@ -86,7 +86,7 @@ ${project.version} 3.0.5.RELEASE - 3.0.6 + 3.0.13 3.3 5.0.2 2.0.6 diff --git a/xwork-core/src/test/java/com/opensymphony/xwork2/ognl/OgnlUtilTest.java b/xwork-core/src/test/java/com/opensymphony/xwork2/ognl/OgnlUtilTest.java index 6726af66b..96daab0f6 100644 --- a/xwork-core/src/test/java/com/opensymphony/xwork2/ognl/OgnlUtilTest.java +++ b/xwork-core/src/test/java/com/opensymphony/xwork2/ognl/OgnlUtilTest.java @@ -496,12 +496,12 @@ public class OgnlUtilTest extends XWorkTestCase { Map context = ognlUtil.createDefaultContext(foo); Map props = new HashMap(); - props.put("aLong", "123"); + props.put("ALong", "123"); ognlUtil.setProperties(props, foo, context); assertEquals(123, foo.getALong()); - props.put("aLong", new String[]{"123"}); + props.put("ALong", new String[]{"123"}); foo.setALong(0); ognlUtil.setProperties(props, foo, context); @@ -518,7 +518,7 @@ public class OgnlUtilTest extends XWorkTestCase { assertEquals(88, foo.getALong()); Map props = new HashMap(); - props.put("aLong", "99"); + props.put("ALong", "99"); ognlUtil.setProperties(props, foo, context); assertEquals(99, foo.getALong()); }