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 2024/01/15 14:12:36 UTC

(commons-jxpath) branch master updated: Use +=

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


The following commit(s) were added to refs/heads/master by this push:
     new 2b3238e  Use +=
2b3238e is described below

commit 2b3238e12b1ae833e0983e930cf66fe0db61bb7c
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jan 15 09:12:32 2024 -0500

    Use +=
---
 src/test/java/org/apache/commons/jxpath/ri/model/BeanModelTestCase.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/java/org/apache/commons/jxpath/ri/model/BeanModelTestCase.java b/src/test/java/org/apache/commons/jxpath/ri/model/BeanModelTestCase.java
index fa9ee56..6bc115b 100644
--- a/src/test/java/org/apache/commons/jxpath/ri/model/BeanModelTestCase.java
+++ b/src/test/java/org/apache/commons/jxpath/ri/model/BeanModelTestCase.java
@@ -262,7 +262,7 @@ public abstract class BeanModelTestCase extends JXPathTestCase {
             iterCount++;
             final Pointer pointer = (Pointer) iter.next();
             String s = (String) pointer.getValue();
-            s = s + "suffix";
+            s += "suffix";
             pointer.setValue(s);
             assertEquals("pointer.getValue", s, pointer.getValue());
             // fails right here, the value isn't getting set in the bean.