Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 992 for IsEmpty (1.15 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t05/ProjectInheritanceTest.java

            assertEquals(pom0Basedir, project1.getParent().getBasedir());
            Set set = project1.getArtifacts();
            assertNotNull(set, "No artifacts");
            assertFalse(set.isEmpty(), "No Artifacts");
    
            for (Object aSet : set) {
                Artifact artifact = (Artifact) aSet;
                System.out.println("Artifact: " + artifact.getDependencyConflictId() + " " + artifact.getVersion()
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java

                writer.print(problem.getSeverity());
                writer.print("] ");
                writer.print(problem.getMessage());
                String location = problem.getLocation();
                if (!location.isEmpty()) {
                    writer.print(" @ ");
                    writer.print(location);
                }
                writer.println();
            }
    
            return buffer.toString();
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Mar 05 09:37:42 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

        }
    }
    
    @Suppress("ThrowsCount")
    fun Project.failEarlyIfUrlOrCredentialsAreNotSet(publish: Task) {
        gradle.taskGraph.whenReady {
            if (hasTask(publish)) {
                if (artifactoryUrl.isEmpty()) {
                    throw GradleException("artifactoryUrl is not set!")
                }
                if (artifactoryUserName.isNullOrEmpty()) {
                    throw GradleException("artifactoryUserName is not set!")
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Jul 17 16:12:44 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

            writeShort(0) // answerCount
            writeShort(0) // authorityResourceCount
            writeShort(0) // additional
    
            val nameBuf = Buffer()
            val labels = host.split('.').dropLastWhile { it.isEmpty() }
            for (label in labels) {
              val utf8ByteCount = label.utf8Size()
              require(utf8ByteCount == label.length.toLong()) { "non-ascii hostname: $host" }
              nameBuf.writeByte(utf8ByteCount.toInt())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/CollectionFuture.java

          ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
          boolean allMustSucceed) {
        super(futures, allMustSucceed, true);
    
        List<@Nullable Present<V>> values =
            futures.isEmpty()
                ? Collections.<@Nullable Present<V>>emptyList()
                : Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size());
    
        // Populate the results list with null initially.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/resident/ResidentMavenInvoker.java

                try {
                    context.doCloseContainer();
                } catch (Exception e) {
                    exceptions.add(e);
                }
            }
            if (!exceptions.isEmpty()) {
                InvokerException exception = new InvokerException("Could not cleanly shut down context pool");
                exceptions.forEach(exception::addSuppressed);
                throw exception;
            }
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Sep 11 17:20:46 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeResult.java

            return new UpgradeResult(mergedProcessed, mergedModified, mergedErrors);
        }
    
        /**
         * Returns true if no errors occurred.
         */
        public boolean success() {
            return errorPoms.isEmpty();
        }
    
        /**
         * Returns the number of POMs processed.
         */
        public int processedCount() {
            return processedPoms.size();
        }
    
        /**
         * Returns the number of POMs modified.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sat Jun 07 06:22:47 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/v4/ModelXmlTest.java

            assertEquals("", myConfig.prefix());
            assertEquals("myConfig", myConfig.name());
            String config = node.toString();
            assertFalse(config.isEmpty(), "Expected collection to not be empty but was empty");
        }
    
        String toXml(Model model) throws IOException, XMLStreamException {
            StringWriter sw = new StringWriter();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/CharSourceTest.java

        assertEquals(expected, CharSource.concat(ImmutableList.of(c1, c2, c3).iterator()).read());
        assertFalse(CharSource.concat(c1, c2, c3).isEmpty());
    
        CharSource emptyConcat = CharSource.concat(CharSource.empty(), CharSource.empty());
        assertTrue(emptyConcat.isEmpty());
      }
    
      public void testConcat_infiniteIterable() throws IOException {
        CharSource source = CharSource.wrap("abcd");
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java

            List<String> providers = RdmaProviderFactory.getAvailableProviders();
            assertNotNull(providers, "Available providers list should not be null");
            assertFalse(providers.isEmpty(), "Should have at least one available provider");
            assertTrue(providers.contains("TCP Fallback"), "Should include TCP fallback");
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3.4K bytes
    - Viewed (0)
Back to top