Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1311 - 1320 of 3,633 for NULL (0.05 sec)

  1. guava/src/com/google/common/io/MoreFiles.java

          throws IOException {
        Path parentPath = getParentPath(path);
        if (parentPath == null) {
          throw new FileSystemException(path.toString(), null, "can't delete recursively");
        }
    
        Collection<IOException> exceptions = null; // created lazily if needed
        try {
          boolean sdsSupported = false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                UserAgentType uaType = (UserAgentType) request.getAttribute(USER_AGENT_TYPE);
                if (uaType == null) {
                    final String userAgent = request.getHeader(USER_AGENT);
                    if (userAgent != null) {
                        if (userAgent.indexOf("MSIE") >= 0 || userAgent.indexOf("Trident") >= 0) {
                            uaType = UserAgentType.IE;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThrows(NullPointerException.class, () -> future.addListener(null, directExecutor()));
      }
    
      public void testNullExecutor() {
        assertThrows(NullPointerException.class, () -> future.addListener(doNothing(), null));
      }
    
      public void testNullTimeUnit() throws Exception {
        future.set(1);
        assertThrows(NullPointerException.class, () -> future.get(0, null));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top