Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 679 for root5 (0.83 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java

            Element root = doc.root();
    
            // Insert elements with various text content scenarios
            DomUtils.insertContentElement(root, "name", "Test Project Name");
            DomUtils.insertContentElement(root, "description", ""); // Empty content
            DomUtils.insertContentElement(root, "url", null); // Null content
            DomUtils.insertContentElement(root, "inceptionYear", "2023");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 31.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

         */
        public static boolean removeModelVersion(Document document) {
            Element root = document.root();
            if (root == null) {
                return false;
            }
    
            Element modelVersionElement = root.child(MODEL_VERSION).orElse(null);
            if (modelVersionElement != null) {
                return root.removeNode(modelVersionElement);
            }
            return false;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

        private final Object root;
    
        /**
         * Construct a new value source, using the supplied object as the root from
         * which to start, and using expressions split at the dot ('.') to navigate
         * the object graph beneath this root.
         * @param root the root of the graph.
         */
        public ObjectBasedValueSource(Object root) {
            super(true);
            this.root = root;
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbExceptionTest.java

        }
    
        /**
         * Verify that the message + rootCause constructor stores the root.
         */
        @Test
        @DisplayName("Message + root cause stores root cause")
        void testStringAndThrowableConstructor() {
            Throwable root = mock(Throwable.class);
            SmbException ex = new SmbException("oops", root);
            assertSame(root, ex.getRootCause());
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

            /**
             * @param root The root dependency
             * @return this request for chaining, never {@code null}
             */
            @Nonnull
            public DependencyResolverRequestBuilder root(@Nonnull DependencyCoordinates root) {
                this.root = root;
                return this;
            }
    
            /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 23K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

            void testGetRootCause() {
                Exception rootCause = new IllegalStateException("Test root cause");
                TransportException exception = new TransportException("Message", rootCause);
    
                assertEquals(rootCause, exception.getRootCause());
            }
    
            @Test
            @DisplayName("Should return null when no root cause")
            void testGetRootCauseWhenNull() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java

            Element root = pomDocument.root();
    
            // Collect all repository containers to process
            Stream<Element> repositoryContainers = Stream.concat(
                    // Root level repositories
                    Stream.of(
                                    root.child(REPOSITORIES).orElse(null),
                                    root.child(PLUGIN_REPOSITORIES).orElse(null))
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java

        /**
         * Wrap the specified root object, allowing the specified expression prefix.
         * @param prefix the prefix.
         * @param root the root of the graph.
         */
        public PrefixedObjectValueSource(String prefix, Object root) {
            super(new PrefixedValueSourceWrapper(new ObjectBasedValueSource(root), prefix));
        }
    
        /**
         * Wrap the specified root object, allowing the specified list of expression
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            Element root = pomDocument.root();
    
            // Check if this POM has a parent
            Element parentElement = root.child(PARENT).orElse(null);
            if (parentElement == null) {
                return false;
            }
    
            // Apply limited inference (child groupId/version removal only)
            return trimParentElementLimited(context, root, parentElement);
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

                root.attribute("xsi:schemaLocation", newSchemaLocation);
                context.detail("Updated xsi:schemaLocation");
            }
        }
    
        /**
         * Converts modules to subprojects for 4.1.0 compatibility using domtrip.
         */
        private void convertModulesToSubprojects(Editor editor, UpgradeContext context) {
            Element root = editor.root();
            if (root == null) {
                return;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 16.6K bytes
    - Viewed (0)
Back to top