- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for rangeClosed (0.05 seconds)
-
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/ShellRetry.java
// bash understands the `{1..10}` syntax, but other shells don't e.g. the default in Alpine Linux. // We therefore use an explicit sequence. String retrySequence = IntStream.rangeClosed(1, 10).mapToObj(String::valueOf).collect(Collectors.joining(" ")); StringBuilder commandWithRetry = new StringBuilder("for iter in " + retrySequence + "; do \n");Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 10 13:10:22 GMT 2021 - 1.9K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ThirdPartyAuditTask.java
// This means we only scan classes that would be loaded into `targetCompatibility`, and don't look at any // pther version specific implementation of said classes. IntStream.rangeClosed( Integer.parseInt(JavaVersion.VERSION_1_9.getMajorVersion()), Integer.parseInt(targetCompatibility.get().getMajorVersion()) ).forEach(majorVersion -> getProject().copy(spec -> {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 17 08:59:22 GMT 2021 - 16.2K bytes - Click Count (0)