Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 18 for Preservation (0.27 seconds)

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

     * </ul>
     *
     * <h3>Format Preservation</h3>
     * <ul>
     *   <li><strong>Whitespace Preservation</strong>: Maintains original formatting when removing elements</li>
     *   <li><strong>Comment Preservation</strong>: Preserves XML comments and processing instructions</li>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

     *
     * <p>This class recursively discovers all POM files in a Maven project hierarchy
     * and loads them as domtrip Documents. Individual strategies can create domtrip Editors
     * from these Documents as needed for superior formatting preservation.
     */
    public class PomDiscovery {
    
        private PomDiscovery() {
            // noop
        }
    
        /**
         * Discovers and loads all POM files starting from the given directory.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeStrategy.java

    /**
     * Strategy interface for different types of upgrade operations.
     * Each strategy handles a specific aspect of the Maven upgrade process.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Individual strategies can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

    /**
     * Abstract base class for upgrade strategies that provides common functionality
     * and reduces code duplication across strategy implementations.
     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Subclasses can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
     * </pre>
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

    /**
     * Utility class for handling Maven model version operations during upgrades.
     *
     * <p>This class uses domtrip internally for superior formatting preservation
     * and simplified API while maintaining the same external interface.
     */
    public final class ModelVersionUtils {
    
        private ModelVersionUtils() {
            // Utility class
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

    /**
     * domtrip-based orchestrator for executing different upgrade strategies.
     *
     * <p>This class provides the same functionality as StrategyOrchestrator but works
     * with domtrip-based strategies for superior formatting preservation.
     *
     * <p>Determines which strategies to apply based on options and executes them in priority order.
     * The DI container automatically sorts the injected strategies by their @Priority annotations.
     */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. scripts/tests/test_translation_fixer/test_complex_doc/data/en_doc.md

    ```
    
    
    ### Code blocks with comments with unsupported languages or without language specified { #code-blocks-with-unsupported-languages }
    
    The following code blocks use unsupported languages for comment preservation.
    Fixer tool will not preserve comments in these blocks.
    
    ```javascript
    // This is a sample JavaScript code block
    console.log("Hello, world!"); // Print greeting
    ```
    
    ```
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 08:08:04 GMT 2026
    - 7.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

            } catch (NullPointerException e) {
                // Expected behavior when null chain is processed
                assertTrue(true);
            }
        }
    
        // Test chains order preservation
        @Test
        public void test_chains_orderPreservation() {
            List<TestAuthenticationChain> chains = new ArrayList<>();
            for (int i = 0; i < 5; i++) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 14.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            ScriptEngine retrieved = scriptEngineFactory.getScriptEngine("  test  ");
            assertNotNull(retrieved);
            assertEquals(engine, retrieved);
        }
    
        // Test case sensitivity preservation in error messages
        @Test
        public void test_getScriptEngine_errorMessagePreservesCase() {
            try {
                scriptEngineFactory.getScriptEngine("MyNonExistentEngine");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/spnego/NegTokenInitTest.java

                assertArrayEquals(secondEncoding, thirdEncoding, "Second and third encoding should be identical");
    
                // Verify content preservation
                assertArrayEquals(mechs, parsed2.getMechanisms());
                assertEquals(flags, parsed2.getContextFlags());
                assertArrayEquals(mechToken, parsed2.getMechanismToken());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
Back to Top