Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for indentation (0.04 sec)

  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").
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  2. 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)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  3. 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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Apr 01 21:22:14 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. 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"?>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  5. 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";
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (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");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Jul 15 09:35:08 UTC 2025
    - 3.3K bytes
    - Viewed (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);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Oct 27 13:24:03 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/path-operation-configuration.md

    You can write <a href="https://en.wikipedia.org/wiki/Markdown" class="external-link" target="_blank">Markdown</a> in the docstring, it will be interpreted and displayed correctly (taking into account docstring indentation).
    
    {* ../../docs_src/path_operation_configuration/tutorial004_py310.py hl[17:25] *}
    
    It will be used in the interactive docs:
    
    <img src="/img/tutorial/path-operation-configuration/image02.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. docs/de/llm-prompt.md

    * «X is case-insensitive»: «Groß-/Klein­schrei­bung ist nicht relevant in X»
    * «standard Python»: «Standard-Python»
    * «deprecated»: «deprecatet»
    
    
    ### Other rules
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 11.9K bytes
    - Viewed (0)
  10. CLAUDE.md

    - `DefaultContentsParserTest` - Text processing pipeline
    
    ---
    
    ## Code Conventions
    
    ### Java Style
    
    - **Formatter**: Eclipse formatter at `src/config/eclipse/formatter/java.xml`
    - **Indentation**: 4 spaces (no tabs)
    - **Line Length**: 140 characters max
    - **License Headers**: Required (use `mvn license:format`)
    
    ### Naming Conventions
    
    | Type | Convention | Example |
    |------|-----------|---------|
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top