Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 29 for indentation (0.08 seconds)

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

        }
    
        /**
         * Increases the indentation level for nested logging.
         */
        public void indent() {
            indentLevel++;
        }
    
        /**
         * Decreases the indentation level for nested logging.
         */
        public void unindent() {
            if (indentLevel > 0) {
                indentLevel--;
            }
        }
    
        /**
         * Sets the indentation string to use (e.g., "  ", "    ", "\t").
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/AbstractArtifactResolutionException.java

                    sb.append(indentation);
                    sb.append("Try downloading the file manually from: ");
                    sb.append(LS);
                    sb.append(indentation);
                    sb.append("    ");
                    sb.append(downloadUrl);
                } else {
                    sb.append(LS);
                    sb.append(LS);
                    sb.append(indentation);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Apr 01 21:22:14 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/validation/ModelValidationResult.java

            return render("");
        }
    
        public String render(String indentation) {
            if (messages.isEmpty()) {
                return indentation + "There were no validation errors.";
            }
    
            StringBuilder message = new StringBuilder();
            for (int i = 0; i < messages.size(); i++) {
                message.append(indentation)
                        .append('[')
                        .append(i)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/ArtifactResolutionExceptionTest.java

    class ArtifactResolutionExceptionTest {
        private static final String LS = System.lineSeparator();
    
        @Test
        void testMissingArtifactMessageFormat() {
            String message = "Missing artifact";
            String indentation = "  ";
            String groupId = "aGroupId";
            String artifactId = "anArtifactId";
            String version = "aVersion";
            String type = "jar";
            String classifier = "aClassifier";
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  5. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_number_lt.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    Missing code block...
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    $ python ./scripts/docs.py live es
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 810 bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/UpgradeContextTest.java

            context.action("Test action message");
        }
    
        @Test
        @DisplayName("should handle indentation correctly")
        void shouldHandleIndentationCorrectly() {
            UpgradeContext context = TestUtils.createMockContext(Paths.get("/test"));
    
            // Test indentation methods don't throw exceptions
            context.indent();
            context.indent();
            context.info("Indented message");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_lines_number_gt.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    ```toml
    # Extra line
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 896 bytes
    - Click Count (0)
  8. .dir-locals.el

            (save-excursion
              (let ((start (point)))
                (forward-line -1)
                (if (re-search-forward ".($" start t) t nil))))
    
          (defun my/arglist-cont-nonempty-indentation (arg)
            (if (my/inside-java-lambda-p)
                '+
              (if (my/is-string-concatenation-p)
                  16
                (unless (my/point-in-defun-declaration-p) '++))))
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Apr 14 14:50:53 GMT 2017
    - 3.3K bytes
    - Click Count (0)
  9. scripts/tests/test_translation_fixer/test_code_blocks/data/en_doc.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    ```toml
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    // Use the command "live" and pass the language code as a CLI argument
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 874 bytes
    - Click Count (0)
  10. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_number_gt.md

    # Code blocks { #code-blocks }
    
    Some text
    
    ```python
    # This is a sample Python code block
    def hello_world():
        # Comment with indentation
        print("Hello, world!")  # Print greeting
    ```
    
    Some more text
    
    ```toml
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    Extra code block
    
    ```
    $ cd my_project
    ```
    
    And more text
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 926 bytes
    - Click Count (0)
Back to Top