Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for Preservation (0.08 sec)

  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>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.5K bytes
    - Viewed (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.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.8K bytes
    - Viewed (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
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. 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.
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7K bytes
    - Viewed (0)
  5. 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>
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. 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
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/test/java/org/apache/maven/model/PropertiesTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    
    /**
     * Comprehensive test suite for Properties behavior in Maven models.
     * Tests order preservation, caching behavior, and WrapperProperties functionality.
     */
    class PropertiesTest {
    
        @Nested
        class OrderPreservationTests {
    
            @Test
            void testPropertiesOrderPreservedInImmutableModel() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 12 07:26:53 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. 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());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleManagerTest.java

            responseData3.setUrl("file:///local/file.txt");
            Rule matchedRule3 = ruleManager.getRule(responseData3);
            assertNull(matchedRule3); // No match
        }
    
        /**
         * Test rule order preservation
         */
        public void test_ruleOrderPreservation() {
            TestRule rule1 = new TestRule("rule1", false);
            TestRule rule2 = new TestRule("rule2", true);
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

             * a clear specification for what annotations should mean on resolved TypeVariables
             * with modified bounds, annotation methods will throw
             * UnsupportedOperationException. Frameworks requiring annotation preservation
             * should use the original TypeVariable when bounds haven't changed.
             */
            if (Types.NativeTypeVariableEquals.NATIVE_TYPE_VARIABLE_ONLY
                && Arrays.equals(bounds, resolvedBounds)) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 22:30:05 UTC 2025
    - 25.3K bytes
    - Viewed (0)
Back to top