This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-ognl.git


The following commit(s) were added to refs/heads/master by this push:
     new 97828f3  Use better Map API.
97828f3 is described below

commit 97828f33e10b43893c26f5511e43359addaf8b53
Author: Gary Gregory <garydgreg...@gmail.com>
AuthorDate: Sun Feb 28 10:20:11 2021 -0500

    Use better Map API.
---
 .../java/org/apache/commons/ognl/test/CollectionDirectPropertyTest.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/src/test/java/org/apache/commons/ognl/test/CollectionDirectPropertyTest.java 
b/src/test/java/org/apache/commons/ognl/test/CollectionDirectPropertyTest.java
index 8647e31..290ad97 100644
--- 
a/src/test/java/org/apache/commons/ognl/test/CollectionDirectPropertyTest.java
+++ 
b/src/test/java/org/apache/commons/ognl/test/CollectionDirectPropertyTest.java
@@ -47,7 +47,7 @@ public class CollectionDirectPropertyTest
         { Arrays.asList( "hello", "world" ), "size", 2 },
         { ROOT, "map[\"test\"]", ROOT }, { ROOT, "map.size", 
ROOT.getMap().size() },
         { ROOT, "map.keySet", ROOT.getMap().keySet() }, { ROOT, "map.values", 
ROOT.getMap().values() },
-        { ROOT, "map.keys.size", ROOT.getMap().keySet().size() },
+        { ROOT, "map.keys.size", ROOT.getMap().size() },
         { ROOT, "map[\"size\"]", ROOT.getMap().get( "size" ) },
         { ROOT, "map.isEmpty", ROOT.getMap().isEmpty() ? Boolean.TRUE : 
Boolean.FALSE },
         { ROOT, "map[\"isEmpty\"]", null }, };

Reply via email to