Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for takeWhile (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/FixProjectHealthTask.kt

                val dependenciesIndex = lines.indexOfFirst { it.contains("dependencies {") }
    
                val whitespace = lines.drop(dependenciesIndex + 1).find { it.isNotBlank() }?.takeWhile { it.isWhitespace() } ?: ""
                lines.addAll(dependenciesIndex + 1, dependencies.map { "$whitespace$it" } + listOf(""))
                file.writeText(lines.joinToString("\n"))
            }
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 03 06:57:08 GMT 2025
    - 6.2K bytes
    - Click Count (1)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/rest/compat/RestCompatTestTransformTask.java

            for(int i = testParts.length - 1; i > 1; i-- ){
                final String lastPart = testParts[i];
                String filePattern = "**/" + Arrays.stream(testParts).takeWhile(x -> x.equals(lastPart) == false).collect(Collectors.joining("/")) + ".yml";
                skippedPatternSet.include(filePattern);
            }
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu Sep 30 16:30:48 GMT 2021
    - 22.3K bytes
    - Click Count (0)
Back to Top