Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1241 - 1250 of 3,758 for null (0.03 sec)

  1. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

        }
    
        @After
        public void tearDown() throws Exception {
            LocaleUtil.setDefault(null);
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_Null() throws Exception {
            assertThat(toDate(null), is(nullValue()));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
          // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol--
          null
        }
    
      @SuppressLint("NewApi")
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            try {
                final SuggestItem item =
                        contentsParser.parseSearchWords(words, null, fields, tags, roles, num, readingConverter, normalizer, analyzer, langs);
                if (item == null) {
                    return new SuggestIndexResponse(0, 1, null, System.currentTimeMillis() - start);
                }
                final long parseTime = System.currentTimeMillis();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/MoreCollectors.java

       *
       * @throws IllegalArgumentException if the stream consists of two or more elements.
       * @throws NullPointerException if any element in the stream is {@code null}.
       * @return {@code Optional.of(onlyElement)} if the stream has exactly one element (must not be
       *     {@code null}) and returns {@code Optional.empty()} if it has none.
       */
      @SuppressWarnings("unchecked")
      public static <T> Collector<T, ?, Optional<T>> toOptional() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Apr 12 15:07:59 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandleTest.java

        void constructor_shouldHandleNullServerSuccessfully() throws IOException {
            // Arrange
            String server = null;
            int access = 123;
    
            doAnswer(invocation -> {
                MsrpcLsarOpenPolicy2 rpc = invocation.getArgument(0);
                rpc.retval = 0; // Simulate success
                return null;
            }).when(mockDcerpcHandle).sendrecv(any(MsrpcLsarOpenPolicy2.class));
    
            // Act
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                final SmbFileFilter ff) throws SmbException {
            try (CloseableIterator<SmbResource> it = doEnum(root, wildcard, searchAttributes,
                    fnf == null ? null : new ResourceNameFilterWrapper(fnf), ff == null ? null : new ResourceFilterWrapper(ff))) {
    
                final List<SmbFile> list = new ArrayList<>();
                while (it.hasNext()) {
                    try (SmbResource n = it.next()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test allowChain with null parameter")
        void testAllowChainWithNull() {
            // Given
            when(request.allowChain(null)).thenReturn(false);
    
            // When
            boolean result = request.allowChain(null);
    
            // Then
            assertFalse(result);
            verify(request, times(1)).allowChain(null);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                    final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
                    list.forEach(boolQuery::should);
                    return boolQuery;
                }
                return null;
            }).filter(q -> q != null).toArray(n -> new QueryBuilder[n]);
    
            if (queryBuilders.length == 1) {
                builder = queryBuilders[0];
            } else if (queryBuilders.length > 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = data;
            this.file = null;
        }
    
        /**
         * Constructs a ContentCache with the given file.
         *
         * @param file the file containing the content
         */
        public ContentCache(final File file) {
            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                if (this.response != null && this.response.isReceived() && e.getNtStatus() == NtStatus.NT_STATUS_NO_SUCH_FILE) {
                    doClose();
                    return null;
                }
                throw e;
            }
    
            this.response.setSubCommand(SmbComTransaction.TRANS2_FIND_NEXT2);
            final FileEntry n = advance(false);
            if (n == null) {
                doClose();
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top