Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 511 - 520 of 2,505 for Null (0.02 seconds)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                            Item l = left.hasNext() ? left.next() : null;
                            Item r = right.hasNext() ? right.next() : null;
    
                            // if this is shorter, then invert the compare and mul with -1
                            int result = l == null ? (r == null ? 0 : -1 * r.compareTo(l)) : l.compareTo(r);
    
                            if (result != 0) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 26.4K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

          // null?  no problem
        }
    
        public static void staticOneArgJsr305NullableCorrectlyDoesNotThrowNpe(
            @javax.annotation.Nullable String s) {
          // null?  no problem
        }
    
        public static void staticOneArgNullableCorrectlyDoesNotThrowNpe(@Nullable String s) {
          // null?  no problem
        }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 47.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/LifecycleTaskSegmentCalculatorStub.java

        public static final String CLEAN = "clean";
    
        public static final String AGGR = "aggr";
    
        public static final String INSTALL = "install";
    
        public LifecycleTaskSegmentCalculatorStub() {
            super(null, null);
        }
    
        @Override
        public List<TaskSegment> calculateTaskSegments(MavenSession session, List<String> tasks)
                throws PluginNotFoundException, PluginResolutionException, PluginDescriptorParsingException,
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/LocalRepositoryManager.java

         *
         * @param session The session to use, must not be {@code null}.
         * @param local The local repository, must not be {@code null}.
         * @param artifact The artifact for which to determine the path, must not be {@code null}.
         * @param remote – The source repository of the artifact, must not be {@code null}.
         * @return The path, relative to the local repository's base directory.
         */
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            }
    
            // populate the configuration section
            Xpp3Dom dom = (Xpp3Dom) model.getConfiguration();
            Xpp3Dom javahome = dom != null ? dom.getChild(JavaToolchainImpl.KEY_JAVAHOME) : null;
            if (javahome == null) {
                throw new MisconfiguredToolchainException(
                        "Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element.");
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. logger/sql_test.go

    			Result:        `create table users (name, age, height, actived, bytes, create_at, update_at, deleted_at, email, role, pass) values ("jinzhu", 1, 999.99, true, "12345", "2020-02-23 11:10:10", "2020-02-23 11:10:10", NULL, "w@g.""com", "admin", "pass")`,
    		},
    		{
    			SQL:           "create table users (name, age, height, actived, bytes, create_at, update_at, deleted_at, email, role, pass) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)",
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Mar 21 08:00:02 GMT 2024
    - 8.4K bytes
    - Click Count (0)
  7. tests/test_request_params/test_body/test_optional_str.py

        assert app.openapi()["components"]["schemas"][body_model_name] == {
            "properties": {
                "p": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    def test_optional_str_missing():
        client = TestClient(app)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        assertFalse(entries.contains(Maps.<String, @Nullable Boolean>immutableEntry("c", null)));
        assertFalse(entries.contains(Maps.<@Nullable String, Boolean>immutableEntry(null, true)));
      }
    
      @Override
      public void testKeySetRemoveAllNullFromEmpty() {
        try {
          super.testKeySetRemoveAllNullFromEmpty();
        } catch (RuntimeException tolerated) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                    this.systemProperties =
                            systemProperties != null ? Map.copyOf(systemProperties) : session.getSystemProperties();
                    this.userProperties = userProperties != null ? Map.copyOf(userProperties) : session.getUserProperties();
                    this.repositoryMerging = repositoryMerging;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            }
    
            @Test
            @DisplayName("should handle null versions in comparison")
            void shouldHandleNullVersionsInComparison() {
                assertFalse(ModelVersionUtils.isVersionGreaterOrEqual(null, "4.1.0"));
                assertFalse(ModelVersionUtils.isVersionGreaterOrEqual("4.1.0", null));
                assertFalse(ModelVersionUtils.isNewerThan410(null));
            }
        }
    
        @Nested
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
Back to Top