Search Options

Results per page
Sort
Preferred Languages
Advance

Results 511 - 520 of 838 for useEmpty (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

             */
            @Nonnull
            public DependencyResolverRequestBuilder dependency(@Nullable DependencyCoordinates dependency) {
                if (dependency != null) {
                    if (this.dependencies.isEmpty()) {
                        this.dependencies = new ArrayList<>();
                    }
                    this.dependencies.add(dependency);
                }
                return this;
            }
    
            /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
          assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0())));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            String base = basedir.getAbsolutePath();
            if (path.startsWith(base)) {
                path = chopLeadingFileSeparator(path.substring(base.length()));
            }
    
            if (path.isEmpty()) {
                path = ".";
            }
    
            if (!new File(path).isAbsolute()) {
                path = path.replace('\\', '/');
            }
    
            return path;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                }
    
                @Override
                public String getClassifier() {
                    String classifier = dependency.getClassifier();
                    if (classifier == null || classifier.isEmpty()) {
                        classifier = getType().getClassifier();
                        if (classifier == null) {
                            classifier = "";
                        }
                    }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

            if (body.documents == null) {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, "documents is required."));
            }
            if (body.documents.isEmpty()) {
                throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, "documents is empty."));
            }
            final String indexFieldId = fessConfig.getIndexFieldId();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jul 25 01:48:41 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

              }
            }
          }
    
          ImportResults(sortedRules, sortedExceptionRules, totalRuleBytes, totalExceptionRuleBytes)
        }
    
      private fun String.toRule(): ByteString? {
        if (trim { it <= ' ' }.isEmpty() || startsWith("//")) return null
        if (contains(WILDCARD_CHAR)) {
          assertWildcardRule(this)
        }
        return encodeUtf8()
      }
    
      data class ImportResults(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java

        Set<Entry<K, V>> entrySet = getMap().entrySet();
        Iterator<Entry<K, V>> entryItr = entrySet.iterator();
        assertEquals(e0(), entryItr.next());
        entryItr.remove();
        assertTrue(getMap().isEmpty());
        assertFalse(entrySet.contains(e0()));
      }
    
      public void testContainsEntryWithIncomparableKey() {
        try {
          assertFalse(getMap().entrySet().contains(mapEntry(IncomparableType.INSTANCE, v0())));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/RegularImmutableTableTest.java

          assertFalse(testInstance.containsValue("blah"));
        }
      }
    
      public void testIsEmpty() {
        for (ImmutableTable<Character, Integer, String> testInstance : getTestInstances()) {
          assertFalse(testInstance.isEmpty());
        }
      }
    
      public void testForCells() {
        assertTrue(RegularImmutableTable.forCells(CELLS) instanceof DenseImmutableTable<?, ?, ?>);
        assertTrue(
            RegularImmutableTable.forCells(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          } else if (methodName == "unsupported" && Void.TYPE == returnType) {
            this.unsupported = true // Peer doesn't support ALPN.
            return null
          } else if (methodName == "protocols" && callArgs.isEmpty()) {
            return protocols // Client advertises these protocols.
          } else if ((methodName == "selectProtocol" || methodName == "select") &&
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/io/TraversalUtil.java

         * @param rootPackage
         *            ルートパッケージ
         * @return 指定のルートパッケージを基点とするリソースの集まりを扱う{@link Traverser}の配列
         */
        public static Traverser[] getTraversers(final String rootPackage) {
            if (StringUtil.isEmpty(rootPackage)) {
                return EMPTY_ARRAY;
            }
    
            final String baseName = toDirectoryName(rootPackage);
            final List<Traverser> list = newArrayList();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top