reschke commented on code in PR #2380:
URL: https://github.com/apache/jackrabbit-oak/pull/2380#discussion_r2197826380


##########
oak-benchmarks-lucene/src/main/java/org/apache/jackrabbit/oak/scalability/suites/ScalabilityNodeSuite.java:
##########
@@ -108,8 +108,10 @@ public class ScalabilityNodeSuite extends 
ScalabilityAbstractSuite {
     /**
      * Controls the number of nodes at each level
      */
-    protected static final List<String> NODE_LEVELS = 
Splitter.on(",").trimResults()
-            .omitEmptyStrings().splitToList(System.getProperty("nodeLevels", 
"10,5,2"));
+    protected static final List<String> NODE_LEVELS = 
Arrays.stream(System.getProperty("nodeLevels", "10,5,2").split(","))
+            .map(String::trim)

Review Comment:
   Of course the above should be refactored to be there just once, and to use 
the SystemPropertySupplies, but that would be a different ticket.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: oak-dev-unsubscr...@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to