Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1031 - 1040 of 4,653 for nullif (0.64 seconds)

  1. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        }
    
        // Edge/invalid inputs: null or empty share/service cause IllegalArgumentException (mocked)
        @ParameterizedTest
        @DisplayName("getSmbTree invalid inputs (null/empty) throw IllegalArgumentException")
        @CsvSource({ ",service", // null share
                " ,service", // empty share
                "share,", // null service
                "share, " // empty service
        })
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycles.java

        public DefaultLifecycles() {
            this.lookup = null;
            this.registry = null;
        }
    
        /**
         * @deprecated Use {@link #DefaultLifecycles(LifecycleRegistry,Lookup)} instead
         */
        @Deprecated
        public DefaultLifecycles(Map<String, Lifecycle> lifecycles, org.codehaus.plexus.logging.Logger logger) {
            this.customLifecycles = lifecycles;
            this.lookup = null;
            this.registry = null;
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertTrue(fessUserBean.hasRole("user"));
            assertTrue(fessUserBean.hasRole("manager"));
            assertFalse(fessUserBean.hasRole("guest"));
    
            // Test with null check
            assertFalse(fessUserBean.hasRole(null));
        }
    
        @Test
        public void test_hasRoles() {
            // Test with no roles
            testUser.setRoleNames(new String[] {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.8K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

        /**
         * Returns a new request body that transmits this string. If [contentType] is non-null and lacks
         * a charset, this will use UTF-8.
         */
        @JvmStatic
        @JvmName("create")
        fun String.toRequestBody(contentType: MediaType? = null): RequestBody {
          val (charset, finalContentType) = contentType.chooseCharset()
          val bytes = toByteArray(charset)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

        public void test_constructor_withBothNullUrls() {
            // Test with both URLs as null
            String parentUrl = null;
            String url = null;
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            assertNotNull(exception);
            assertEquals("Not Found: null Parent: null", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.9K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/RegularImmutableTable.java

          List<Cell<R, C, V>> cells,
          @Nullable Comparator<? super R> rowComparator,
          @Nullable Comparator<? super C> columnComparator) {
        checkNotNull(cells);
        if (rowComparator != null || columnComparator != null) {
          /*
           * This sorting logic leads to a cellSet() ordering that may not be expected and that isn't
           * documented in the Javadoc. If a row Comparator is provided, cellSet() iterates across the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/SuggestJob.java

            addSystemProperty(cmdList, Constants.FESS_CONF_PATH, null, null);
            cmdList.add("-Dfess." + getExecuteType() + ".process=true");
            if (logFilePath == null) {
                final String value = System.getProperty("fess.log.path");
                logFilePath = value != null ? value : new File(targetDir, "logs").getAbsolutePath();
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

         * @param foreignImports The packages/types to import from foreign realms, may be {@code null}.
         * @param artifacts The artifacts to add to the class realm, may be {@code null}. Unresolved artifacts (i.e. with a
         *            missing file) will automatically be excluded from the realm.
         * @return The new plugin realm, never {@code null}.
         */
        ClassRealm createPluginRealm(
                Plugin plugin,
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/base/Preconditions.java

        }
      }
    
      /*
       * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a
       * nullness checker can already "prove" are non-null. That means that the first parameter to
       * checkNotNull *should* be annotated to require it to be non-null.
       *
       * However, for a variety of reasons, Google developers have written a ton of code over the past
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 53.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseManager.java

            if (entry == null)
                return false;
    
            LeaseManager.LeaseEntry leaseEntry = baseLeaseManager.getLease(entry.getLeaseKey());
            return leaseEntry != null && leaseEntry.hasReadCache();
        }
    
        /**
         * Get cached directory listing
         *
         * @param directoryPath directory path
         * @return list of cached files or null
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 01:47:47 GMT 2025
    - 12.3K bytes
    - Click Count (0)
Back to Top