Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareSegments (0.28 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/tooling/model/TaskNameComparator.java

            int depthDiff = getDepth(taskName1) - getDepth(taskName2);
            if (depthDiff != 0) {
                return depthDiff;
            }
            return compareSegments(taskName1, taskName2);
        }
    
        private int compareSegments(String taskName1, String taskName2) {
            int colon1 = taskName1.indexOf(':');
            int colon2 = taskName2.indexOf(':');
            if (colon1 > 0 && colon2 > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
Back to top