Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for orNull (0.13 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildParams.kt

    val Project.maxTestDistributionRemoteExecutors: Int?
        get() = gradleProperty(MAX_TEST_DISTRIBUTION_REMOTE_EXECUTORS).orNull?.toInt()
    
    val Project.maxTestDistributionLocalExecutors: Int?
        get() = gradleProperty(MAX_TEST_DISTRIBUTION_LOCAL_EXECUTORS).orNull?.toInt()
    
    val Project.toolchainInstallationPaths: Provider<String>
        get() = gradleProperty(JAVA_INSTALLATIONS_PATHS_PROPERTY)
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  2. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts

    val artifactoryUrl
        get() = System.getenv("GRADLE_INTERNAL_REPO_URL") ?: ""
    
    val artifactoryUserName
        get() = project.providers.gradleProperty("artifactoryUserName").orNull
    
    val artifactoryUserPassword
        get() = project.providers.gradleProperty("artifactoryUserPassword").orNull
    
    tasks.withType<AbstractPublishToMaven>().configureEach {
        val noUpload = project.gradleProperty("noUpload")
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 08:20:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/base/OptionalTest.java

      }
    
      @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional
      public void testOrNull_present() {
        assertEquals("a", Optional.of("a").orNull());
      }
    
      public void testOrNull_absent() {
        assertNull(Optional.absent().orNull());
      }
    
      public void testAsSet_present() {
        Set<String> expected = Collections.singleton("a");
        assertEquals(expected, Optional.of("a").asSet());
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  4. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

    val signArtifacts: Boolean = !pgpSigningKey.orNull.isNullOrEmpty()
    
    tasks.withType<Sign>().configureEach { isEnabled = signArtifacts }
    
    signing {
        useInMemoryPgpKeys(
            project.providers.environmentVariable("PGP_SIGNING_KEY").orNull,
            project.providers.environmentVariable("PGP_SIGNING_KEY_PASSPHRASE").orNull
        )
        publishing.publications.configureEach {
            if (signArtifacts) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 19 13:21:47 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Optional.java

      })
      // If users use this when they shouldn't, we hope that NewApi will catch subsequent Optional calls
      @IgnoreJRERequirement
      public java.util.Optional<T> toJavaUtil() {
        return java.util.Optional.ofNullable(orNull());
      }
    
      Optional() {}
    
      /**
       * Returns {@code true} if this holder contains a (non-null) instance.
       *
       * <p><b>Comparison to {@code java.util.Optional}:</b> no differences.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. src/main/webapp/js/admin/jquery-3.7.1.min.js

    ion(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  7. src/main/webapp/js/jquery-3.7.1.min.js

    ion(e,t,n){return!1===t?ce.removeAttr(e,n):e.setAttribute(n,n),n}},ce.each(ce.expr.match.bool.source.match(/\w+/g),function(e,t){var a=xt[t]||ce.find.attr;xt[t]=function(e,t,n){var r,i,o=t.toLowerCase();return n||(i=xt[o],xt[o]=r,r=null!=a(e,t,n)?o:null,xt[o]=i),r}});var bt=/^(?:input|select|textarea|button)$/i,wt=/^(?:a|area)$/i;function Tt(e){return(e.match(D)||[]).join(" ")}function Ct(e){return e.getAttribute&&e.getAttribute("class")||""}function kt(e){return Array.isArray(e)?e:"string"==typeof...
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 85.5K bytes
    - Viewed (0)
Back to top