Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 215 for TRIM (0.04 seconds)

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

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

        }
    
        private static class RangeValue {
            private String value;
    
            private boolean closed;
    
            RangeValue(String value, boolean closed) {
                this.value = value.trim();
                this.closed = closed;
            }
    
            @Override
            public String toString() {
                return value;
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/test/java/org/codelibs/fess/it/search/ScrollSearchApiTests.java

            String body = response.getBody().asString();
            assertTrue(body != null && body.length() > 0, "Response body should not be empty");
            // NDJSON format: each line is a JSON object
            String[] lines = body.trim().split("\n");
            assertTrue(lines.length > 0, "Should have at least one line in NDJSON response");
        }
    
        @Test
        public void testScrollSearch_withNum() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  8. .teamcity/src/test/kotlin/CIConfigIntegrationTests.kt

                    val originalText = file.readText()
                    val text =
                        originalText
                            .lineSequence()
                            .filterNot { it.trim().startsWith("//") }
                            .joinToString("\n")
                    if (text.contains(content) && exceptions.all { !text.contains(it) }) {
                        println("Found suspicious test file: $file")
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Oct 16 01:27:05 GMT 2025
    - 14.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/util/PrunedTag.java

                final Pattern pattern = Pattern.compile("(\\w+)(\\[[^\\]]+\\])?(\\.[\\w\\-]+)?(#[\\w\\-]+)?");
                final Matcher matcher = pattern.matcher(v.trim());
                if (matcher.matches()) {
                    final PrunedTag tag = new PrunedTag(matcher.group(1));
                    if (matcher.group(2) != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Nov 24 04:23:08 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  10. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/relocation/UserPropertiesArtifactRelocationSource.java

            String[] entries = relocationsEntries.split(",");
            try (Stream<String> lines = Arrays.stream(entries)) {
                List<Relocation> relocationList = lines.filter(
                                l -> l != null && !l.trim().isEmpty())
                        .map(l -> {
                            boolean global;
                            String splitExpr;
                            if (l.contains(">>")) {
                                global = true;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Oct 16 06:12:36 GMT 2025
    - 9K bytes
    - Click Count (0)
Back to Top