Search Options

Results per page
Sort
Preferred Languages
Advance

Results 601 - 610 of 4,154 for nulls (0.02 sec)

  1. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

         *
         * @param name the name to register the data store under, must not be null
         * @param dataStore the data store instance to register, must not be null
         * @throws IllegalArgumentException if either name or dataStore is null
         */
        public void add(final String name, final DataStore dataStore) {
            if (name == null || dataStore == null) {
                throw new IllegalArgumentException(
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/Strings.java

         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeInternalTest.java

        }
    
        @Test
        @DisplayName("connectLogon accepts null context but still invokes")
        void connectLogon_withNull_isInvoked() throws Exception {
            // Act
            tree.connectLogon(null);
    
            // Assert - even null should be passed through to implementation
            verify(tree).connectLogon(null);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/lang/StringUtilTest.java

            assertThat(StringUtil.defaultString("aaa", "NULL"), is("aaa"));
            assertThat(StringUtil.defaultString("aaa", null), is("aaa"));
            assertThat(StringUtil.defaultString(null, null), is(nullValue()));
        }
    
        @Test
        public void testNewStringUnsafe() {
            assertNull(StringUtil.newStringUnsafe(null));
            char[] chars = new char[0];
            assertThat(StringUtil.newStringUnsafe(chars), is(""));
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

            if (pluginDescriptorV4 == null) {
                synchronized (this) {
                    if (pluginDescriptorV4 == null) {
                        pluginDescriptorV4 = org.apache.maven.api.plugin.descriptor.PluginDescriptor.newBuilder()
                                .namespaceUri(null)
                                .modelEncoding(null)
                                .name(name)
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 16.2K bytes
    - Viewed (0)
  6. guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/LocalCache.java

          cachingHashMap.remove(key);
          return null;
        }
      }
    
      @CanIgnoreReturnValue
      @Override
      public V put(K key, V value) {
        checkNotNull(key);
        checkNotNull(value);
        Timestamped<V> oldValue = cachingHashMap.put(key, new Timestamped<V>(value, ticker));
        if (oldValue == null) {
          return null;
        }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

        @Override
        public DefaultModelBuildingRequest setPomFile(File pomFile) {
            this.pomFile = (pomFile != null) ? pomFile.getAbsoluteFile() : null;
    
            return this;
        }
    
        @Override
        public synchronized ModelSource getModelSource() {
            if (modelSource == null && pomFile != null) {
                modelSource = new FileModelSource(pomFile);
            }
            return modelSource;
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

            // Test convert with null text - this might throw exception
            String text = null;
            String field = "content";
    
            try {
                List<String> results = converter.convert(text, field, "en");
                assertNotNull(results);
            } catch (Exception e) {
                // Expected behavior - null text might cause exception
                assertNotNull(e);
            }
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/searchResults.jsp

    					<fmt:formatDate value="${fe:parseDate(doc.last_modified)}" type="BOTH" pattern="yyyy-MM-dd HH:mm" />
    					<c:if test="${doc.last_modified==null || doc.last_modified==''}">
    						<fmt:formatDate value="${fe:parseDate(doc.created)}" type="BOTH" pattern="yyyy-MM-dd HH:mm" />
    					</c:if>
    					<c:if test="${doc.content_length!=null && doc.content_length!=''}">
    						<div class="d-sm-none"></div>
    						<span class="d-none d-sm-inline-block">&nbsp;</span>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 13 05:54:52 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

          return spliterator.tryAdvance(action);
        }
    
        @Override
        @Nullable GeneralSpliterator<E> trySplit() {
          Spliterator<E> split = spliterator.trySplit();
          return split == null ? null : new GeneralSpliteratorOfObject<>(split);
        }
      }
    
      private static final class GeneralSpliteratorOfPrimitive<
              E extends @Nullable Object, C, S extends Spliterator.OfPrimitive<E, C, S>>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 12.1K bytes
    - Viewed (0)
Back to top