Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1141 - 1150 of 4,689 for nulls (0.05 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

            if (classpath == null || classpath.isEmpty()) {
                return null;
            }
    
            MetadataTreeNode tree = null;
            MetadataTreeNode parent = null;
    
            for (ArtifactMetadata md : classpath) {
                MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope());
                if (tree == null) {
                    tree = node;
                }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

     * NullPointerException} or {@link UnsupportedOperationException} whenever null is passed to a
     * parameter whose declaration or type isn't annotated with an annotation with the simple name
     * {@code Nullable}, {@code CheckForNull}, {@code NullableType}, or {@code NullableDecl}.
     *
     * <p>The tested methods and constructors are invoked -- each time with one parameter being null and
     * the rest not null -- and the test fails if no expected exception is thrown. {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/repository/DefaultArtifactRepositoryFactory.java

            if (layout == null) {
                throw new UnknownRepositoryLayoutException(repositoryId, layoutId);
            }
        }
    
        @Override
        public ArtifactRepository createDeploymentArtifactRepository(
                String id, String url, ArtifactRepositoryLayout repositoryLayout, boolean uniqueVersion) {
            return createArtifactRepository(id, url, repositoryLayout, null, null);
        }
    
        @Override
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.7K bytes
    - Click Count (1)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/UrlNormalizer.java

     */
    @Deprecated(since = "4.0.0")
    public interface UrlNormalizer {
    
        /**
         * Normalizes the specified URL.
         *
         * @param url The URL to normalize, may be {@code null}.
         * @return The normalized URL or {@code null} if the input was {@code null}.
         */
        String normalize(String url);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  5. src/main/java/jcifs/util/SecureKeyManager.java

            checkNotClosed();
    
            if (key == null || sessionId == null) {
                throw new IllegalArgumentException("Session ID and key must not be null");
            }
    
            // Clone the key to prevent external modification
            byte[] keyClone = key.clone();
            SecretKey secretKey = new SecretKeySpec(keyClone, algorithm);
    
            // Store in memory
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testOffer_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getQueue().offer(null));
        expectUnchanged();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/HandlerTest.java

        }
    
        @Test
        @DisplayName("openConnection with null URL throws NullPointerException")
        void testOpenConnection_NullInput() {
            // Arrange
            Handler handler = newHandlerWith(mockCtx);
    
            // Act & Assert
            assertThrows(NullPointerException.class, () -> handler.openConnection(null), "Null URL should throw NPE");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public CommonServerMessageBlockRequest split() {
            final ServerMessageBlock2Request<?> n = getNext();
            if (n != null) {
                setNext(null);
                n.clearFlags(SMB2_FLAGS_RELATED_OPERATIONS);
            }
            return n;
        }
    
        /**
         * Sets the next request in the compound chain.
         *
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/FileSizeFormat.java

                    return KILOBYTE;
                } else {
                    return BYTE;
                }
            }
        }
    
        public String format(long size) {
            return format(size, null);
        }
    
        public String format(long size, ScaleUnit unit) {
            return format(size, unit, false);
        }
    
        public String format(long size, ScaleUnit unit, boolean omitSymbol) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Apr 16 10:09:21 GMT 2025
    - 7K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/SID.java

                sids[si].origin_server = null;
                sids[si].origin_auth = null;
            }
        }
    
        static void resolveSids0(final String authorityServerName, final NtlmPasswordAuthentication auth, final SID[] sids) throws IOException {
            DcerpcHandle handle = null;
            LsaPolicyHandle policyHandle = null;
    
            synchronized (sid_cache) {
                try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.5K bytes
    - Click Count (0)
Back to Top