Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 16 for indentation (0.06 seconds)

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

  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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

            }
        }
    
        @Nested
        @DisplayName("XML Formatting")
        class XmlFormattingTests {
    
            @Test
            @DisplayName("should format pluginManagement with proper indentation")
            void shouldFormatPluginManagementWithProperIndentation() throws Exception {
                String pomXml = """
                    <?xml version="1.0" encoding="UTF-8"?>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/internal/extension/model/io/xpp3/CoreExtensionsXpp3Writer.java

        public void write(Writer writer, CoreExtensions coreExtensions) throws IOException {
            XmlSerializer serializer = new MXSerializer();
            serializer.setProperty("http://xmlpull.org/v1/doc/properties.html#serializer-indentation", "  ");
            serializer.setProperty("http://xmlpull.org/v1/doc/properties.html#serializer-line-separator", "\n");
            serializer.setOutput(writer);
            serializer.startDocument(coreExtensions.getModelEncoding(), null);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  8. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_wrong_lang_code.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
    
    The following block has wrong language code (should be TOML):
    
    ```yaml
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 946 bytes
    - Click Count (0)
  9. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_mermaid_translated.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
    - 889 bytes
    - Click Count (0)
  10. scripts/tests/test_translation_fixer/test_code_blocks/data/translated_doc_wrong_lang_code_2.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
    
    The following block has wrong language code (should be TOML):
    
    ```
    # This is a sample TOML code block
    title = "TOML Example"  # Title of the document
    ```
    
    And more text
    
    ```console
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Jan 10 21:48:08 GMT 2026
    - 942 bytes
    - Click Count (0)
Back to Top