Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2061 - 2070 of 4,653 for nullif (0.23 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/OrArtifactFilterTest.java

            OrArtifactFilter filter1 = new OrArtifactFilter();
    
            OrArtifactFilter filter2 = new OrArtifactFilter(Arrays.asList(newSubFilter()));
    
            assertFalse(filter1.equals(null), "Expected " + filter1 + " to not equal " + null);
            assertTrue(filter1.equals(filter1), "Expected " + filter1 + " to equal " + filter1);
            assertEquals(filter1.hashCode(), filter1.hashCode());
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/rest/transform/match/RemoveMatch.java

        private final String removeKey;
        private final String testName;
    
        public RemoveMatch(String removeKey) {
            this.removeKey = removeKey;
            this.testName = null;
        }
    
        public RemoveMatch(String removeKey, String testName) {
            this.removeKey = removeKey;
            this.testName = testName;
        }
    
        @Override
        @Internal
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 2K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/WrappingScheduledExecutorServiceTest.java

          lastDelay = delay;
          lastUnit = unit;
          return null;
        }
    
        @Override
        public <V> ScheduledFuture<V> schedule(Callable<V> callable, long delay, TimeUnit unit) {
          assertThat(callable).isInstanceOf(WrappedCallable.class);
          lastMethodCalled = "scheduleCallable";
          lastDelay = delay;
          lastUnit = unit;
          return null;
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java

      private List<Entry<K, V>> containsNullValue;
    
      @Override
      public void setUp() throws Exception {
        super.setUp();
        containsNullKey = singletonList(entry(null, v3()));
        containsNullValue = singletonList(entry(k3(), null));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll_supportedNothing() {
        getMap().putAll(emptyMap());
        expectUnchanged();
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/ArtifactTransferEvent.java

            result = prime * result + ((exception == null) ? 0 : exception.hashCode());
            result = prime * result + ((localFile == null) ? 0 : localFile.hashCode());
            result = prime * result + requestType;
            return result;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if ((obj == null) || (getClass() != obj.getClass())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      public void testSetNull() throws Exception {
        future.set(null);
        assertSuccessful(future, null);
      }
    
      @SuppressWarnings("nullness") // test of a bogus call
      public void testSetExceptionNull() throws Exception {
        assertThrows(NullPointerException.class, () -> future.setException(null));
    
        assertThat(future.isDone()).isFalse();
        assertThat(future.set(1)).isTrue();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

                assertEquals(expiration, response.getExpiration());
            }
    
            @Test
            @DisplayName("Should handle null expiration")
            void testNullExpiration() {
                response.setExpiration(null);
    
                assertNull(response.getExpiration());
            }
        }
    
        @Nested
        @DisplayName("Async Handling Tests")
        class AsyncHandlingTests {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java

            this.text = String.join(SuggestConstants.TEXT_SEPARATOR, text);
            this.readings = readings;
            this.fields = fields != null ? fields : new String[] {};
            this.tags = tags != null ? tags : new String[] {};
    
            if (roles == null || roles.length == 0) {
                this.roles = new String[] { SuggestConstants.DEFAULT_ROLE };
            } else {
                this.roles = new String[roles.length];
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/log/exbhv/FavoriteLogBhv.java

     */
    public class FavoriteLogBhv extends BsFavoriteLogBhv {
        private static final Logger logger = LogManager.getLogger(FavoriteLogBhv.class);
    
        private String indexName = null;
    
        @Override
        protected String asEsIndex() {
            if (indexName == null) {
                final String name = ComponentUtil.getFessConfig().getIndexLogIndex();
                indexName = super.asEsIndex().replaceFirst(Pattern.quote("fess_log"), name);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/core/beans/converter/NumberConverter.java

            if (StringUtil.isEmpty(value)) {
                return null;
            }
            try {
                return new DecimalFormat(pattern).parse(value);
            } catch (final ParseException e) {
                throw new ParseRuntimeException(e);
            }
    
        }
    
        @Override
        public String getAsString(final Object value) {
            if (value == null) {
                return null;
            }
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top