Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for cleanArgs (0.23 sec)

  1. compat/maven-embedder/src/test/java/org/apache/maven/cli/CleanArgumentTest.java

    class CleanArgumentTest {
    
        @Test
        void cleanArgs() {
            String[] args = {
                "\"",
            };
            CleanArgument.cleanArgs(args);
        }
    
        @Test
        void cleanArgsShouldRemoveWrongSurroundingQuotes() {
            String[] args = {"\"-Dfoo=bar", "\"-Dfoo2=bar two\""};
            String[] cleanArgs = CleanArgument.cleanArgs(args);
            assertEquals(args.length, cleanArgs.length);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/CleanArgument.java

                cleaned.add(currentArg.toString());
            }
    
            int cleanedSz = cleaned.size();
    
            String[] cleanArgs;
    
            if (cleanedSz == 0) {
                cleanArgs = args;
            } else {
                cleanArgs = cleaned.toArray(new String[0]);
            }
    
            return cleanArgs;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                // We need to eat any quotes surrounding arguments...
                String[] cleanArgs = CleanArgument.cleanArgs(args);
                DefaultParser parser = DefaultParser.builder()
                        .setDeprecatedHandler(this::addDeprecatedOption)
                        .build();
                CommandLine commandLine = parser.parse(options, cleanArgs);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIManager.java

            // We need to eat any quotes surrounding arguments...
            String[] cleanArgs = CleanArgument.cleanArgs(args);
    
            DefaultParser parser = DefaultParser.builder()
                    .setDeprecatedHandler(usedDeprecatedOptions::add)
                    .build();
    
            CommandLine commandLine = parser.parse(options, cleanArgs);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. docs/en/docs/async.md

    But in this case, if you could bring the 8 ex-cashier/cooks/now-cleaners, and each one of them (plus you) could take a zone of the house to clean it, you could do all the work in **parallel**, with the extra help, and finish much sooner.
    
    In this scenario, each one of the cleaners (including you) would be a processor, doing their part of the job.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Aug 28 23:33:37 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top