Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 274 for rtrim (0.02 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/NoticeTask.java

            return sources;
        }
    
        public static void appendFile(File file, String name, String type, StringBuilder output) {
            String text = FileUtils.read(file, "UTF-8");
            if (text.trim().isEmpty()) {
                return;
            }
            appendText(text, name, type, output);
        }
    
        public static void appendText(String text, final String name, final String type, StringBuilder output) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.9K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/PomInlinerTransformer.java

                    }
                    String newVersion;
                    if (version != null) {
                        HashSet<String> usedProperties = new HashSet<>();
                        newVersion = interpolator.interpolate(version.trim(), property -> {
                            if (!session.getConfigProperties().containsKey(property)) {
                                throw new IllegalArgumentException("Cannot inline property " + property);
                            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java

                .metadata(metadata)
                .routingTable(routingTable)
                .nodes(nb)
                .build();
        }
    
        private int toInt(String v) {
            return Integer.valueOf(v.trim());
        }
    
        @Benchmark
        public ClusterState measureAllocation() {
            ClusterState clusterState = initialClusterState;
            while (clusterState.getRoutingNodes().hasUnassignedShards()) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 13 08:33:41 GMT 2021
    - 6.7K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/WinErrorTest.java

            // Ensure no unexpected empty messages (edge: empty strings)
            msgCap.getAllValues().forEach(m -> assertNotNull(m));
            msgCap.getAllValues().forEach(m -> assertFalse(m.trim().isEmpty(), "Message should not be empty"));
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.4K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                }
            }
        }
    
        private GoalSpec parseGoalSpec(String goalSpec) {
            GoalSpec gs = new GoalSpec();
    
            String[] p = goalSpec.trim().split(":");
    
            if (p.length == 3) {
                // <groupId>:<artifactId>:<goal>
                gs.groupId = p[0];
                gs.artifactId = p[1];
                gs.goal = p[2];
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/DependencyLicensesTask.java

            }
    
            // TODO: shouldn't have to trim, sha files should not have trailing newline
            byte[] fileBytes = Files.readAllBytes(shaFile.toPath());
            String expectedSha = new String(fileBytes, StandardCharsets.UTF_8).trim();
    
            String sha = getSha1(jar);
    
            if (expectedSha.equals(sha) == false) {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jul 26 12:16:14 GMT 2021
    - 14.3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/http/Handler.java

                    final StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
                        final String provider = tokenizer.nextToken().trim();
                        if (provider.equals("jcifs.smb1")) {
                            continue;
                        }
                        final String className = provider + "." + protocol + ".Handler";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/http/Handler.java

                    final StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while (tokenizer.hasMoreTokens()) {
                        final String provider = tokenizer.nextToken().trim();
                        if (provider.equals("jcifs")) {
                            continue;
                        }
                        final String className = provider + "." + protocol + ".Handler";
                        try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/CurlHelper.java

                }
            }
    
            final String[] hosts = split(ResourceUtil.getFesenHttpUrl(), ",")
                    .get(stream -> stream.map(String::trim).filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            nodeManager = new NodeManager(hosts, node -> request(new CurlRequest(Method.GET, node.getUrl("/"))));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  10. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateAgpVersions.kt

                .first()
                ?.text()
                ?.lines()
                ?.firstOrNull { it.contains("buildToolsVersion = ") }
                ?.substringAfter("buildToolsVersion = ")
                ?.trim('"', ' ')
                ?: error("Couldn't find buildToolsVersion on $buildToolsUrl")
    
        companion object {
    
            @VisibleForTesting
            @JvmStatic
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Oct 24 09:10:29 GMT 2025
    - 7.6K bytes
    - Click Count (0)
Back to Top