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

reschke pushed a commit to branch OAK-11297
in repository https://gitbox.apache.org/repos/asf/jackrabbit-oak.git


The following commit(s) were added to refs/heads/OAK-11297 by this push:
     new 2a3e90f7a3  OAK-11297: remove usage of Guava Joiner - oak-jcr
2a3e90f7a3 is described below

commit 2a3e90f7a37e650a7d2393c49c94143fff5f0c8f
Author: Julian Reschke <[email protected]>
AuthorDate: Fri Dec 6 22:45:21 2024 +0100

     OAK-11297: remove usage of Guava Joiner - oak-jcr
---
 .../src/main/java/org/apache/jackrabbit/oak/jcr/query/RowImpl.java  | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git 
a/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/query/RowImpl.java 
b/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/query/RowImpl.java
index 19269a57e7..3eaf9ceaed 100644
--- a/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/query/RowImpl.java
+++ b/oak-jcr/src/main/java/org/apache/jackrabbit/oak/jcr/query/RowImpl.java
@@ -28,8 +28,6 @@ import org.apache.jackrabbit.oak.api.ResultRow;
 import org.apache.jackrabbit.oak.api.Type;
 import org.apache.jackrabbit.oak.plugins.memory.PropertyValues;
 
-import org.apache.jackrabbit.guava.common.base.Joiner;
-
 /**
  * The implementation of the corresponding JCR interface.
  */
@@ -115,9 +113,7 @@ public class RowImpl implements Row {
     }
 
     private static PropertyValue mvpToString(PropertyValue pv) {
-        String v = Joiner.on(' ')
-                .appendTo(new StringBuilder(), pv.getValue(Type.STRINGS))
-                .toString();
+        String v = String.join(" ", pv.getValue(Type.STRINGS));
         return PropertyValues.newString(v);
     }
 

Reply via email to