Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 2,515 for NULL (0.03 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultSession.java

            return project != null && project.getBasedir() != null
                    ? allProjects.computeIfAbsent(project.getId(), id -> new DefaultProject(this, project))
                    : null;
        }
    
        @Override
        public List<ArtifactRepository> toArtifactRepositories(List<RemoteRepository> repositories) {
            return repositories == null ? null : map(repositories, this::toArtifactRepository);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

        assertThat(expected).hasMessageThat().isEqualTo("null");
      }
    
      public void testCheckArgument_nullMessageWithArgs_failure() {
        IllegalArgumentException e =
            assertThrows(IllegalArgumentException.class, () -> checkArgument(false, null, "b", "d"));
        assertThat(e).hasMessageThat().isEqualTo("null [b, d]");
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 19K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        if (expectedSequenceNumber != ANY_SEQUENCE_NUMBER &&
          (entry == null || entry.sequenceNumber != expectedSequenceNumber)
        ) {
          return null // Snapshot is stale.
        }
    
        if (entry?.currentEditor != null) {
          return null // Another edit is in progress.
        }
    
        if (entry != null && entry.lockingSourceCount != 0) {
          return null // We can't write this file because a reader is still reading it.
        }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/ReactorReader.java

         *
         * @param project The project to try to resolve the artifact from, must not be <code>null</code>.
         * @param requestedArtifact The artifact to resolve, must not be <code>null</code>.
         * @return The matching artifact from the project or <code>null</code> if not found. Note that this
         */
        private Artifact findMatchingArtifact(MavenProject project, Artifact requestedArtifact) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Dec 15 11:20:38 GMT 2025
    - 24.4K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/FakeRoutePlanner.kt

        var tcpConnectDelayNanos = 0L
        var tcpConnectThrowable: Throwable? = null
        var yieldBeforeTcpConnectReturns = false
        var connectTcpNextPlan: FakePlan? = null
        var tlsConnectDelayNanos = 0L
        var tlsConnectThrowable: Throwable? = null
        var connectTlsNextPlan: FakePlan? = null
    
        fun createRetry(): FakePlan {
          check(retry == null)
          return FakePlan(nextPlanId++)
            .also {
              retry = it
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 21:55:03 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  6. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

        try {
          val provider = Proxy.getInvocationHandler(getMethod.invoke(null, sslSocket)) as AlpnProvider
          if (!provider.unsupported && provider.selected == null) {
            log("ALPN callback dropped: HTTP/2 is disabled. " + "Is alpn-boot on the boot class path?")
            return null
          }
          return if (provider.unsupported) null else provider.selected
        } catch (e: InvocationTargetException) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        private String modelId;
    
        /**
         *
         *
         *             The path/URL of the POM or {@code null} if
         * unknown.
         *
         *
         */
        private String location;
    
        /**
         *
         *
         *             The location of the POM from which this POM was
         * imported from or {@code null} if unknown.
         */
        private InputLocation importedFrom;
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

            ClassRealm pluginRealm = pluginDescriptor.getClassRealm();
    
            if (pluginRealm == null) {
                try {
                    setupPluginRealm(pluginDescriptor, session, null, null, null);
                } catch (PluginResolutionException e) {
                    String msg = "Cannot setup plugin realm [mojoDescriptor=" + mojoDescriptor.getId()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 46.4K bytes
    - Click Count (0)
  9. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. tests/test_request_params/test_query/test_optional_str.py

    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": False,
                "schema": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
                "name": "p",
                "in": "query",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-str", "/model-optional-str"],
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8.1K bytes
    - Click Count (0)
Back to Top