Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1441 - 1450 of 4,653 for nullif (0.27 seconds)

  1. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            // Test that null text causes exception
            // Create item with valid text first, then set to null
            SuggestItem item = new SuggestItem(new String[] { "text" }, new String[0][0], new String[0], 0, 0, 1.0f, new String[0],
                    new String[0], new String[0], SuggestItem.Kind.DOCUMENT);
            // Set text to null after construction
            item.setText(null);
            item.setTimestamp(ZonedDateTime.now());
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/AbstractTableTest.java

        assertThrows(NullPointerException.class, () -> table.put(null, 2, cellValue('d')));
        assertThrows(NullPointerException.class, () -> table.put("cat", null, cellValue('d')));
        if (supportsNullValues()) {
          assertThat(table.put("cat", 2, null)).isNull();
          assertTrue(table.contains("cat", 2));
        } else {
          assertThrows(NullPointerException.class, () -> table.put("cat", 2, null));
        }
        assertSize(3);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6K bytes
    - Click Count (0)
  3. src/main/java/jcifs/http/Handler.java

                URLStreamHandler handler = PROTOCOL_HANDLERS.get(protocol);
                if (handler != null) {
                    return handler;
                }
                if (factory != null) {
                    handler = factory.createURLStreamHandler(protocol);
                }
                if (handler == null) {
                    final String path = System.getProperty(HANDLER_PKGS_PROPERTY);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/pager/ElevateWordPager.java

            existNextPage = false;
            pageSize = getDefaultPageSize();
            currentPageNumber = getDefaultCurrentPageNumber();
    
            id = null;
            suggestWord = null;
            boost = null;
            createdBy = null;
            createdTime = null;
            versionNo = null;
    
        }
    
        /**
         * Gets the default current page number.
         *
         * @return the default current page number
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      public void testRemove() {
        create().remove(null);
      }
    
      public void testClear() {
        create().clear();
      }
    
      public void testContainsKey() {
        boolean unused = create().containsKey(null);
      }
    
      public void testContainsValue() {
        boolean unused = create().containsValue(null);
      }
    
      public void testGet() {
        Object unused = create().get(null);
      }
    
      public void testPut() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            return key != null ? leases.get(key) : null;
        }
    
        /**
         * Handle a lease break notification
         *
         * @param key lease key
         * @param newState new lease state
         */
        public void handleLeaseBreak(Smb2LeaseKey key, int newState) {
            LeaseEntry entry = leases.get(key);
            if (entry != null) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 18.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

                    return null;
                }
            }
            assertThrows(ClassCastException.class, () -> {
                OtherPipeHandle result = target.unwrap(OtherPipeHandle.class);
            });
    
            // Null input: document current behavior (NPE from isAssignableFrom)
            assertThrows(NullPointerException.class, () -> target.unwrap(null));
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/PublicAPIRulesTest.groovy

                    @Override
                    void method() { }
                }
            """
    
            then:
            incubatingMissingRule.maybeViolation(jApiType) == null
            sinceMissingRule.maybeViolation(jApiType) == null
    
            where:
            apiElement | jApiTypeName
            'method'   | 'jApiMethod'
            'field'    | 'jApiField'
        }
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Jun 06 17:52:09 GMT 2025
    - 16K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/pager/RoleTypePager.java

            pageSize = getDefaultPageSize();
            currentPageNumber = getDefaultCurrentPageNumber();
    
            id = null;
            name = null;
            value = null;
            sortOrder = null;
            createdBy = null;
            createdTime = null;
            versionNo = null;
    
        }
    
        /**
         * Gets the default current page number.
         * @return The default current page number.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

       *
       * @param eventClass a class to assert that the returned event is an instance of, or null to
       *     take any event class.
       * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or
       *     -1L to take any duration.
       */
      fun takeEvent(
        eventClass: Class<out ConnectionEvent>? = null,
        elapsedMs: Long = -1L,
      ): ConnectionEvent {
        val result = eventSequence.remove()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.8K bytes
    - Click Count (0)
Back to Top