Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 2531 - 2540 of 4,689 for nulls (0.02 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

        }
    
        /**
         * @return Required active project selectors, never {@code null}.
         */
        public Set<String> getRequiredActiveProjectSelectors() {
            return getProjectSelectors(pa -> !pa.optional() && pa.active());
        }
    
        /**
         * @return Optional active project selectors, never {@code null}.
         */
        public Set<String> getOptionalActiveProjectSelectors() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  2. tests/test_request_params/test_query/test_optional_str.py

        assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot(
            [
                {
                    "required": False,
                    "schema": {
                        "anyOf": [{"type": "string"}, {"type": "null"}],
                        "title": "P",
                    },
                    "name": "p",
                    "in": "query",
                }
            ]
        )
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ObjectBasedValueSource.java

            if (expression == null || expression.trim().isEmpty()) {
                return null;
            }
    
            try {
                return ReflectionValueExtractor.evaluate(expression, root, false);
            } catch (Exception e) {
                addFeedback("Failed to extract \'" + expression + "\' from: " + root, e);
            }
    
            return null;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

         * @param mavenProject the requested project
         * @return The projectSegment or null.
         */
        public ProjectSegment findByMavenProject(MavenProject mavenProject) {
            return items.stream()
                    .filter(pb -> mavenProject.equals(pb.getProject()))
                    .findFirst()
                    .orElse(null);
        }
    
        @Override
        public Iterator<ProjectSegment> iterator() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/testing/TestType.kt

        systemProperties.compute("include.spock.annotation") { _, oldValue ->
            if (oldValue == null) fqcn else "$oldValue,$fqcn"
        }
    }
    
    
    fun Test.excludeSpockAnnotation(fqcn: String) {
        systemProperties.compute("exclude.spock.annotation") { _, oldValue ->
            if (oldValue == null) fqcn else "$oldValue,$fqcn"
        }
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 1.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

        }
    
        @Test
        @DisplayName("Should handle null token correctly")
        void testWriteBytesWireFormatWithNullToken() throws Exception {
            // Given
            Smb2SessionSetupRequest req =
                    new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, null);
            byte[] buffer = new byte[512];
    
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21.2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

         *
         * // Get build directory
         * Path buildDir = project.getOutputDirectory(null);
         * // Result: /home/user/myproject/target
         * }</pre>
         *
         * @param scope the scope of the generated files for which to get the directory, or {@code null} for the build directory
         * @return the absolute path to the output directory for the given scope
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Nov 07 13:11:07 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/ldap/LdapUtil.java

         *
         * @param value the value to escape (null is treated as empty string)
         * @return the escaped value safe for use in LDAP search filters
         * @see <a href="https://tools.ietf.org/html/rfc4515">RFC 4515 - LDAP String Representation of Search Filters</a>
         */
        public static String escapeValue(final String value) {
            if (value == null) {
                return "";
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 02 08:06:20 GMT 2026
    - 2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/AbstractMapEntry.java

              && Objects.equals(this.getValue(), that.getValue());
        }
        return false;
      }
    
      @Override
      public int hashCode() {
        K k = getKey();
        V v = getValue();
        return ((k == null) ? 0 : k.hashCode()) ^ ((v == null) ? 0 : v.hashCode());
      }
    
      /** Returns a string representation of the form {@code {key}={value}}. */
      @Override
      public String toString() {
        return getKey() + "=" + getValue();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/base/VerifyException.java

      public VerifyException(@Nullable String message) {
        super(message);
      }
    
      /**
       * Constructs a {@code VerifyException} with the cause {@code cause} and a message that is {@code
       * null} if {@code cause} is null, and {@code cause.toString()} otherwise.
       *
       * @since 19.0
       */
      public VerifyException(@Nullable Throwable cause) {
        super(cause);
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top