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-vfs.git
The following commit(s) were added to refs/heads/master by this push:
new 6885efb3 Use +=
6885efb3 is described below
commit 6885efb36966fde420ba42a0ac8274ac801721ad
Author: Gary Gregory <[email protected]>
AuthorDate: Mon Jan 15 09:15:01 2024 -0500
Use +=
---
commons-vfs2/src/test/java/org/apache/commons/vfs2/NamingTests.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/commons-vfs2/src/test/java/org/apache/commons/vfs2/NamingTests.java
b/commons-vfs2/src/test/java/org/apache/commons/vfs2/NamingTests.java
index b12f8afc..92445c5e 100644
--- a/commons-vfs2/src/test/java/org/apache/commons/vfs2/NamingTests.java
+++ b/commons-vfs2/src/test/java/org/apache/commons/vfs2/NamingTests.java
@@ -240,7 +240,7 @@ public class NamingTests extends AbstractProviderTestCase {
assertSameName(path, baseName, "some-child", NameScope.DESCENDENT);
// Test compound name
- path = path + "/grand-child";
+ path += "/grand-child";
assertSameName(path, baseName, "some-child/grand-child",
NameScope.DESCENDENT);
// Test relative names