Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 546 for roots (0.02 seconds)

  1. 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))
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 22.2K bytes
    - Click Count (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;
        }
    
        /**
    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)
  3. 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;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. 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);
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  5. 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");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 31.3K bytes
    - Click Count (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategyTest.java

                Editor editor = new Editor(updatedDocument);
                Element root = editor.root();
                assertEquals(expectedNamespace, root.namespaceURI(), "Namespace should be updated: " + description);
    
                Element modelVersionElement = DomUtils.findChildElement(root, "modelVersion");
                if (expectedModelVersion != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 38.8K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Transport.java

         * root.
         *
         * @return the string if operation succeeded, {@code null} if source does not exist.
         * @throws RuntimeException If failed (and not due source not exists).
         */
        @Nonnull
        Optional<String> getString(@Nonnull URI relativeSource, @Nonnull Charset charset);
    
        /**
         * GETs the source URI content as string using UTF8 charset. The source MUST BE relative from the
         * {@link RemoteRepository#getUrl()} root.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Mar 23 05:29:39 GMT 2023
    - 4.4K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/TestTls13Request.kt

          "https://www.allizom.org/robots.txt",
          "https://tls13.crypto.mozilla.org/",
          "https://tls.ctf.network/robots.txt",
          "https://rustls.jbp.io/",
          "https://h2o.examp1e.net",
          "https://mew.org/",
          "https://tls13.baishancloud.com/",
          "https://tls13.akamai.io/",
          "https://swifttls.org/",
          "https://www.googleapis.com/robots.txt",
          "https://graph.facebook.com/robots.txt",
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu May 22 14:39:30 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/TreeTraverser.java

      @Deprecated
      public final FluentIterable<T> preOrderTraversal(T root) {
        checkNotNull(root);
        return new FluentIterable<T>() {
          @Override
          public UnmodifiableIterator<T> iterator() {
            return preOrderIterator(root);
          }
        };
      }
    
      UnmodifiableIterator<T> preOrderIterator(T root) {
        return new PreOrderIterator(root);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 18:39:06 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  10. samples/static-server/src/main/java/okhttp3/sample/SampleServer.java

    import okio.Okio;
    
    public class SampleServer extends Dispatcher {
      private final SSLContext sslContext;
      private final String root;
      private final int port;
    
      public SampleServer(SSLContext sslContext, String root, int port) {
        this.sslContext = sslContext;
        this.root = root;
        this.port = port;
      }
    
      public void run() throws IOException {
        MockWebServer server = new MockWebServer();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top