Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1171 - 1180 of 4,015 for null (0.05 sec)

  1. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

         *
         * @param s
         *            数値を表す文字列
         * @param locale
         *            ロケール。{@literal null}であってはいけません
         * @return 正規化された文字列
         */
        public static String normalize(final String s, final Locale locale) {
            assertArgumentNotNull("locale", locale);
    
            if (s == null) {
                return null;
            }
            final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(locale);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/DefaultRepositoryRequest.java

            // enables no-arg constructor
        }
    
        /**
         * Creates a shallow copy of the specified repository request.
         *
         * @param repositoryRequest The repository request to copy from, must not be {@code null}.
         */
        public DefaultRepositoryRequest(RepositoryRequest repositoryRequest) {
            setLocalRepository(repositoryRequest.getLocalRepository());
            setRemoteRepositories(repositoryRequest.getRemoteRepositories());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

         *
         * @param problems The problems that cause this exception, may be {@code null}.
         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
            if (problems != null) {
                this.problems.addAll(problems);
            }
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

        assertTrue(multimap().containsKey(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContainsKeyNullAbsent() {
        assertFalse(multimap().containsKey(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testContainsKeyNullDisallowed() {
        assertThrows(NullPointerException.class, () -> multimap().containsKey(null));
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:10:20 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null));
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
        assertThat(firstCallable.called).isTrue();
        assertThat(secondCallable.called).isFalse();
        firstFuture.set(null);
        assertThat(secondCallable.called).isTrue();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-HeadersCommon.kt

    internal fun Headers.commonValues(name: String): List<String> {
      var result: MutableList<String>? = null
      for (i in 0 until size) {
        if (name.equals(name(i), ignoreCase = true)) {
          if (result == null) result = ArrayList(2)
          result.add(value(i))
        }
      }
      return result?.toList().orEmpty()
    }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java

    /**
     * @author shinsuke
     * @author kaorufuzita
     */
    public class TextUtilTest extends PlainTestCase {
    
        public void test_getContent() {
            assertEquals("", normalizeText((String) null, 100, -1, -1, false));
            assertEquals("", normalizeText("", 100, -1, -1, false));
            assertEquals("", normalizeText(" ", 100, -1, -1, false));
            assertEquals("", normalizeText("  ", 100, -1, -1, false));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/util/PrunedTag.java

            if (tag.equalsIgnoreCase(node.getNodeName())) {
                if (attrName != null) {
                    final Node attr = node.getAttributes().getNamedItem(attrName);
                    if (attr == null || !attrValue.equals(attr.getNodeValue())) {
                        return false;
                    }
                }
                if (id == null) {
                    if (css == null) {
                        return true;
                    }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

        }
    
        @Test
        void testVersionParsing() {
            checkVersionParsing("1", 1, 0, 0, 0, null);
            checkVersionParsing("1.2", 1, 2, 0, 0, null);
            checkVersionParsing("1.2.3", 1, 2, 3, 0, null);
            checkVersionParsing("1.2.3-1", 1, 2, 3, 1, null);
            checkVersionParsing("1.2.3-alpha-1", 1, 2, 3, 0, "alpha-1");
            checkVersionParsing("1.2-alpha-1", 1, 2, 0, 0, "alpha-1");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

        public Mirror getMirror(ArtifactRepository repository, List<Mirror> mirrors) {
            String repoId = repository.getId();
    
            if (repoId != null && mirrors != null) {
                for (Mirror mirror : mirrors) {
                    if (repoId.equals(mirror.getMirrorOf()) && matchesLayout(repository, mirror)) {
                        return mirror;
                    }
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top