Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1351 - 1360 of 3,654 for nullif (0.07 sec)

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

        protected BaseRequest(@Nonnull Session session) {
            this.session = nonNull(session, "session cannot be null");
        }
    
        @Nonnull
        public Session getSession() {
            return session;
        }
    
        public static <T> T nonNull(T obj, String message) {
            if (obj == null) {
                throw new IllegalArgumentException(message);
            }
            return obj;
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Mar 23 05:29:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/opensearch/extension/analysis/ReloadableKeywordMarkerFilterFactory.java

            if (path != null) {
                keywordPath = environment.configFile().resolve(path);
            } else {
                keywordPath = null;
            }
    
            reloadInterval = settings.getAsTime("reload_interval", TimeValue.timeValueMinutes(1)).getMillis();
        }
    
        @Override
        public TokenStream create(final TokenStream tokenStream) {
            if (keywordPath == null) {
                return tokenStream;
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top