Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1341 - 1350 of 4,015 for null (0.07 sec)

  1. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableStopFilterFactory.java

                final Settings settings) {
            super(indexSettings, name, settings);
    
            final String path = settings.get("stopwords_path");
            if (path != null) {
                stopwordPath = environment.configFile().resolve(path);
            } else {
                stopwordPath = null;
            }
    
            ignoreCase = settings.getAsBoolean("ignore_case", false);
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TextExtractorTest.java

            final String content = textExtractor.getText(in, null).getContent();
            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
        }
    
        public void test_getText_null() {
            try {
                textExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertThrows(NullPointerException.class, () -> ImmutableBiMap.of(null, 1));
    
        assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, null, 2));
      }
    
      public void testOfNullValue() {
        assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", null));
    
        assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, "two", null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        notEqualObject1 = new ValidTestObject(0, 2);
      }
    
      /** Test null reference yields error */
      public void testAddNullReference() {
        assertThrows(NullPointerException.class, () -> equalsTester.addEqualityGroup((Object) null));
      }
    
      /** Test equalObjects after adding multiple instances at once with a null */
      public void testAddTwoEqualObjectsAtOnceWithNull() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 15:00:32 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java

            this(time, properties != null ? properties.getProperty(BUILD_TIMESTAMP_FORMAT_PROPERTY) : null);
        }
    
        public MavenBuildTimestamp(Date time, String timestampFormat) {
            if (timestampFormat == null) {
                timestampFormat = DEFAULT_BUILD_TIMESTAMP_FORMAT;
            }
            if (time == null) {
                time = new Date();
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLogger.java

        public ProtoLogger() {
            this(null, null);
        }
    
        public ProtoLogger(@Nullable OutputStream out, @Nullable OutputStream err) {
            this.out = new PrintWriter(toPsOrDef(out, System.out), true);
            this.err = new PrintWriter(toPsOrDef(err, System.err), true);
        }
    
        private PrintStream toPsOrDef(OutputStream outputStream, PrintStream def) {
            if (outputStream == null) {
                return def;
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

        systemProperties.compute("include.spock.annotation") { _, oldValue ->
            if (oldValue == null) fqcn else "$oldValue,$fqcn"
        }
    }
    
    
    fun Test.excludeSpockAnnotation(fqcn: String) {
        systemProperties.compute("exclude.spock.annotation") { _, oldValue ->
            if (oldValue == null) fqcn else "$oldValue,$fqcn"
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

       */
      fun takeEvent(
        eventClass: Class<out CallEvent>? = null,
        elapsedMs: Long = -1L,
      ): CallEvent {
        val result = eventSequence.remove()
        val actualElapsedNs = result.timestampNs - (lastTimestampNs ?: result.timestampNs)
        lastTimestampNs = result.timestampNs
    
        if (eventClass != null) {
          assertThat(result).isInstanceOf(eventClass)
        }
    
        if (elapsedMs != -1L) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/ClassUtil.java

                return null;
            }
            try {
                return (Class<T>) Class.forName(className, true, loader);
            } catch (final Throwable ignore) {
                return null;
            }
        }
    
        /**
         * プリミティブクラスの場合は、ラッパークラスに変換して返します。
         *
         * @param className
         *            クラス名。{@literal null}や空文字列であってはいけません
         * @return {@link Class}
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

        ms.add("b");
        ms.add(null);
        ms.add("a");
        ms.add("b");
        ms.add(null, 2);
    
        assertThat(ms).containsExactly(null, null, null, "a", "b", "b").inOrder();
        assertEquals(3, ms.count(null));
    
        SortedSet<@Nullable String> elementSet = ms.elementSet();
        assertEquals(null, elementSet.first());
        assertEquals("b", elementSet.last());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
Back to top