You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/06/27 18:07:29 UTC

[commons-text] branch master updated: Comment.

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-text.git


The following commit(s) were added to refs/heads/master by this push:
     new d0adfa6  Comment.
d0adfa6 is described below

commit d0adfa6908e33244f0bfc768ec02e6ff38fae4b4
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Sat Jun 27 14:07:23 2020 -0400

    Comment.
---
 .../org/apache/commons/text/lookup/BiFunctionStringLookupTest.java     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/text/lookup/BiFunctionStringLookupTest.java b/src/test/java/org/apache/commons/text/lookup/BiFunctionStringLookupTest.java
index bb16ae8..b85735d 100644
--- a/src/test/java/org/apache/commons/text/lookup/BiFunctionStringLookupTest.java
+++ b/src/test/java/org/apache/commons/text/lookup/BiFunctionStringLookupTest.java
@@ -68,6 +68,7 @@ public class BiFunctionStringLookupTest {
 
     @Test
     public void testBiFunctionForNestedMap() {
+        // Build map
         final String subSubKey = "subsubkeyMap";
         final String subSubValue = "subsubvalue";
         final Map<String, String> subSubMap = new HashMap<>();
@@ -86,7 +87,7 @@ public class BiFunctionStringLookupTest {
         final Map<String, Object> rootMap = new HashMap<>();
         rootMap.put(rootKey, rootSubMap);
         rootMap.put(rootKey2, rootValue2);
-        //
+        // Use map
         final BiStringLookup<Map<String, Object>> stringLookup = StringLookupFactory.INSTANCE
             .biFunctionStringLookup(nestedMapBiFunction);
         Assertions.assertEquals(rootValue2, stringLookup.lookup(rootKey2, rootMap));