- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for FixedPatternStep (0.19 sec)
-
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/FixedPatternStep.java
package org.gradle.api.internal.file.pattern; /** * A pattern step for a fixed pattern segment that does not contain any wildcards. */ public class FixedPatternStep implements PatternStep { private final String value; private final boolean caseSensitive; public FixedPatternStep(String value, boolean caseSensitive) { this.value = value; this.caseSensitive = caseSensitive; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/FixedPatternStepTest.groovy
def "matches name case sensitive"() { def step = new FixedPatternStep("name", true) expect: step.matches("name") !step.matches("Name") !step.matches("") !step.matches("something else") } def "matches name case insensitive"() { def step = new FixedPatternStep("name", false) expect: step.matches("name")
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/pattern/PatternStepFactory.java
public static PatternStep getStep(String source, boolean caseSensitive) { if (source.length() == 0) { return new FixedPatternStep(source, caseSensitive); } // Here, we try to avoid using the reg exp backed pattern step, as it is expensive in terms of performance and heap usage. // There are several special cases we handle here:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/files/src/test/groovy/org/gradle/api/internal/file/pattern/PatternStepFactoryTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:55:52 UTC 2023 - 5.3K bytes - Viewed (0) -
testing/architecture-test/src/changes/archunit-store/internal-api-nullability.txt
Class <org.gradle.api.internal.file.pattern.FixedPatternStep> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (FixedPatternStep.java:0) Class <org.gradle.api.internal.file.pattern.FixedStepPathMatcher> is not annotated (directly or via its package) with @org.gradle.api.NonNullApi in (FixedStepPathMatcher.java:0)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 967.9K bytes - Viewed (0)