Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2121 - 2130 of 3,432 for NULL (0.07 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/repository/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
                } catch (Exception e) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  2. compat/maven-builder-support/src/test/java/org/apache/maven/building/FileSourceTest.java

        @Test
        void testFileSource() {
            NullPointerException e = assertThrows(
                    NullPointerException.class,
                    () -> new FileSource((File) null),
                    "Should fail, since you must specify a file");
            assertEquals("file cannot be null", e.getMessage());
        }
    
        @Test
        void testGetInputStream() throws Exception {
            File txtFile = new File("target/test-classes/source.txt");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/suggest/request/Request.java

         */
        protected abstract void processRequest(Client client, Deferred<T> deferred);
    
        /**
         * Returns a validation error message, or null if there are no errors.
         * @return A validation error message, or null.
         */
        protected abstract String getValidationError();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

        assertThat(Adapters.OBJECT_IDENTIFIER.toDer(SHA256_WITH_RSA_ENCRYPTION)).isEqualTo(bytes)
      }
    
      @Test fun `null value`() {
        val bytes = "0500".decodeHex()
        assertThat(Adapters.NULL.fromDer(bytes)).isNull()
        assertThat(Adapters.NULL.toDer(null)).isEqualTo(bytes)
      }
    
      @Test fun `sequence algorithm`() {
        val bytes = "300d06092a864886f70d01010b0500".decodeHex()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Predicates.java

        return ObjectPredicate.ALWAYS_FALSE.withNarrowedType();
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the object reference being tested is
       * null.
       *
       * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull},
       * but note that lambdas and method references do not have human-readable {@link #toString()}
       * representations and are not serializable.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/SMB1SigningDigestTest.java

            SmbComNtCancel cancelRequest = mock(SmbComNtCancel.class);
    
            digest.sign(data, 0, data.length, cancelRequest, null);
    
            verify(cancelRequest).setSignSeq(10);
            // Sequence should increment by 1 for cancel requests
        }
    
        @Test
        @DisplayName("Test sign method with null response")
        void testSignWithNullResponse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

      }
    
      @Override
      public Iterator<E> iterator() {
        if (iterator == null) {
          // TODO: throw something else? Do we worry that people's code and tests
          // might be relying on this particular type of exception?
          throw new IllegalStateException();
        }
        try {
          return iterator;
        } finally {
          iterator = null;
        }
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapRemoveEntryTester.java

        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_KEY_QUERIES)
      public void testRemove_nullKeyQueriesUnsupported() {
        try {
          assertFalse(getMap().remove(null, v3()));
        } catch (NullPointerException tolerated) {
          // since the operation would be a no-op, the exception is not required
        }
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. src/packaging/common/systemd/fess.service

    EnvironmentFile=-${packaging.env.file}
    
    User=${packaging.fess.user}
    Group=${packaging.fess.group}
    
    ExecStart=${packaging.fess.bin.dir}/fess
    
    # Connects standard output to /dev/null
    StandardOutput=null
    
    # Connects standard error to journal
    StandardError=journal
    
    # When a JVM receives a SIGTERM signal it exits with code 143
    SuccessExitStatus=143
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Jan 15 06:32:15 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/ds/callback/IndexUpdateCallbackImpl.java

                logger.debug("Adding {}", dataMap);
            }
    
            //   required check
            final Object urlObj = dataMap.get(fessConfig.getIndexFieldUrl());
            if (urlObj == null) {
                throw new DataStoreException("url is null. dataMap=" + dataMap);
            }
    
            final IndexingHelper indexingHelper = ComponentUtil.getIndexingHelper();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 10.3K bytes
    - Viewed (0)
Back to top