Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1381 - 1390 of 4,653 for nullif (0.14 seconds)

  1. src/main/java/org/codelibs/fess/helper/SearchLogHelper.java

            final String userId = ComponentUtil.getRequestManager().findUserBean(FessUserBean.class).map(FessUserBean::getUserId).orElse(null);
            final HttpServletRequest request = LaRequestUtil.getOptionalRequest().orElse(null);
            final String clientIp = request != null ? ComponentUtil.getViewHelper().getClientIp(request) : null;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 29.3K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList.Builder<String> builder = ImmutableList.builder();
        assertThrows(NullPointerException.class, () -> builder.add((String) null));
    
        assertThrows(NullPointerException.class, () -> builder.add((String[]) null));
    
        assertThrows(NullPointerException.class, () -> builder.add("a", null, "b"));
      }
    
      public void testBuilderAddAllHandlesNullsCorrectly() {
        {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/suggest/normalizer/ICUNormalizer.java

         * @param transliteratorId The ID of the transliterator to use.
         * @throws IllegalArgumentException if transliteratorId is null or invalid
         */
        public ICUNormalizer(final String transliteratorId) {
            if (transliteratorId == null) {
                throw new IllegalArgumentException("transliteratorId must not be null");
            }
            try {
                this.transliterator = Transliterator.getInstance(transliteratorId);
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 17 14:23:01 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        assertThrows(
            NullPointerException.class,
            () -> map.putInstance((TypeToken<Integer>) null, Integer.valueOf(1)));
        map.putInstance(Integer.class, null);
        assertTrue(map.containsKey(TypeToken.of(Integer.class)));
        assertTrue(map.entrySet().contains(immutableEntry(TypeToken.of(Integer.class), null)));
        assertThat(map.get(TypeToken.of(Integer.class))).isNull();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.put(domainNameBytes);
            buffer.put((byte) 0x00); // Null terminator
    
            byte[] byteData = buffer.array();
    
            // Call the method
            int bytesRead = response.readBytesWireFormat(byteData, 0);
    
            // Assertions
            // readBytesWireFormat returns bytes processed up to null terminator
            assertEquals(14, bytesRead); // 8 bytes key + 6 bytes domain name
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/impl/ConsumerPomArtifactTransformer.java

            if (project.getFile() == null) {
                // If there is no build POM there is no reason to inject artifacts for the consumer POM.
                return;
            }
            if (Features.consumerPom(session.getConfigProperties())) {
                Path buildDir =
                        project.getBuild() != null ? Paths.get(project.getBuild().getDirectory()) : null;
                if (buildDir != null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 04 19:49:40 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsFileAuthentication.java

            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (fileConfigId != null) {
                addFieldToSource(sourceMap, "fileConfigId", fileConfigId);
            }
            if (hostname != null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  8. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      private <T extends Iterator<E>> void internalExecuteAndCompare(
          T reference, T target, IteratorOperation method) {
        Object referenceReturnValue = null;
        PermittedMetaException referenceException = null;
        Object targetReturnValue = null;
        Exception targetException = null;
    
        try {
          targetReturnValue = method.execute(target);
        } catch (Exception e) { // sneaky checked exception
          targetException = e;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/resolver/ArtifactNotFoundException.java

                    artifact.getGroupId(),
                    artifact.getArtifactId(),
                    artifact.getVersion(),
                    artifact.getType(),
                    artifact.getClassifier(),
                    null,
                    artifact.getDownloadUrl(),
                    artifact.getDependencyTrail());
        }
    
        protected ArtifactNotFoundException(
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/mapping/LifecyclePhase.java

                    .collect(Collectors.joining(","));
        }
    
        @Deprecated
        public static Map<String, String> toLegacyMap(Map<String, LifecyclePhase> lifecyclePhases) {
            if (lifecyclePhases == null) {
                return null;
            }
    
            if (lifecyclePhases.isEmpty()) {
                return Collections.emptyMap();
            }
    
            Map<String, String> phases = new LinkedHashMap<>();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
Back to Top