Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1281 - 1290 of 4,154 for nulls (0.02 sec)

  1. src/test/java/jcifs/internal/CommonServerMessageBlockRequestTest.java

        }
    
        @Test
        @DisplayName("Test allowChain with null parameter")
        void testAllowChainWithNull() {
            // Given
            when(request.allowChain(null)).thenReturn(false);
    
            // When
            boolean result = request.allowChain(null);
    
            // Then
            assertFalse(result);
            verify(request, times(1)).allowChain(null);
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                final SmbFileFilter ff) throws SmbException {
            try (CloseableIterator<SmbResource> it = doEnum(root, wildcard, searchAttributes,
                    fnf == null ? null : new ResourceNameFilterWrapper(fnf), ff == null ? null : new ResourceFilterWrapper(ff))) {
    
                final List<SmbFile> list = new ArrayList<>();
                while (it.hasNext()) {
                    try (SmbResource n = it.next()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertArrayEquals(ciphers, context.getCiphers());
            }
    
            @Test
            @DisplayName("Should create instance with null ciphers")
            void testConstructorWithNullCiphers() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, null);
    
                assertNotNull(context);
                assertNull(context.getCiphers());
            }
    
            @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/ModelValidator.java

         *
         * @param model The model to validate, must not be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @param problems The container used to collect problems that were encountered, must not be {@code null}.
         */
        void validateRawModel(Model model, ModelBuildingRequest request, ModelProblemCollector problems);
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsWriter.java

        @Override
        public void write(File output, Map<String, Object> options, Settings settings) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
            Objects.requireNonNull(settings, "settings cannot be null");
    
            output.getParentFile().mkdirs();
    
            write(Files.newOutputStream(output.toPath()), options, settings);
        }
    
        @Override
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            ActivationProperty property = activation.getProperty();
    
            if (property != null) {
                String name = property.getName();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

          }
    
        fun build(): Cookie =
          Cookie(
            name ?: throw NullPointerException("builder.name == null"),
            value ?: throw NullPointerException("builder.value == null"),
            expiresAt,
            domain ?: throw NullPointerException("builder.domain == null"),
            path,
            secure,
            httpOnly,
            persistent,
            hostOnly,
            sameSite,
          )
      }
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  8. android/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() {
        {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ExecutionEvent.java

         *
         * @return The type of the event, never {@code null}.
         */
        Type getType();
    
        /**
         * Gets the session from which this event originates.
         *
         * @return The current session, never {@code null}.
         */
        MavenSession getSession();
    
        /**
         * Gets the current project (if any).
         *
         * @return The current project or {@code null} if not applicable.
         */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 29 20:53:26 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/project/artifact/ProjectArtifact.java

        public ProjectArtifact(MavenProject project) {
            super(
                    project.getGroupId(),
                    project.getArtifactId(),
                    project.getVersion(),
                    null,
                    "pom",
                    null,
                    new PomArtifactHandler());
            this.project = project;
            setFile(project.getFile());
            setResolved(true);
        }
    
        public MavenProject getProject() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.9K bytes
    - Viewed (0)
Back to top