Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for stripLeadingAndTrailingQuotes (0.27 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

    import static org.apache.maven.cling.invoker.Utils.or;
    import static org.apache.maven.cling.invoker.Utils.prefix;
    import static org.apache.maven.cling.invoker.Utils.stripLeadingAndTrailingQuotes;
    import static org.apache.maven.cling.invoker.Utils.toMap;
    
    public abstract class BaseParser<O extends Options, R extends InvokerRequest<O>> implements Parser<R> {
    
        @SuppressWarnings("VisibilityModifier")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/Utils.java

        @Nullable
        public static File toFile(Path path) {
            if (path != null) {
                return path.toFile();
            }
            return null;
        }
    
        @Nonnull
        public static String stripLeadingAndTrailingQuotes(String str) {
            requireNonNull(str, "str");
            final int length = str.length();
            if (length > 1
                    && str.startsWith("\"")
                    && str.endsWith("\"")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            for (String arg : cliRequest.args) {
                if (isAltFile) {
                    // this is the argument following -f/--file
                    Path path = topDirectory.resolve(stripLeadingAndTrailingQuotes(arg));
                    if (Files.isDirectory(path)) {
                        topDirectory = path;
                    } else if (Files.isRegularFile(path)) {
                        topDirectory = path.getParent();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top