paulk-asert commented on code in PR #2210:
URL: https://github.com/apache/groovy/pull/2210#discussion_r2072491151


##########
src/main/java/org/codehaus/groovy/runtime/ArrayGroovyMethods.java:
##########
@@ -6576,6 +6579,528 @@ public static <T> T[] minus(T[] self, Object removeMe) {
         return result;
     }
 
+    
//--------------------------------------------------------------------------
+    // partition_point
+
+    /**
+     * Returns the index of the partition point according to the given 
predicate
+     * (the index of the first element of the second partition).
+     * The arr is assumed to be partitioned according to the given predicate.
+     * <pre class="groovyTestCase">
+     * def arr = [7, 15, 3, 5, 4, 12, 6] as Integer[];

Review Comment:
   I'd probably also get rid of the unneeded semicolon here



-- 
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: notifications-unsubscr...@groovy.apache.org

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

Reply via email to