- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 10 for isNullOrEmpty (0.07 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt
pattern: String?, ): Boolean { var hostname = hostname var pattern = pattern if (hostname.isNullOrEmpty() || hostname.startsWith(".") || hostname.endsWith("..") ) { // Invalid domain name. return false } if (pattern.isNullOrEmpty() || pattern.startsWith(".") || pattern.endsWith("..") ) { // Invalid pattern.Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 7.6K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-defaults.gradle.kts
throw GradleException("artifactoryUrl is not set!") } if (artifactoryUserName.isNullOrEmpty()) { throw GradleException("artifactoryUserName is not set!") } if (artifactoryUserPassword.isNullOrEmpty()) { throw GradleException("artifactoryUserPassword is not set!") } } } } publishing {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Jul 17 16:12:44 GMT 2025 - 3.4K bytes - Click Count (0) -
.teamcity/mvnw.cmd
echo Downloading from: %DOWNLOAD_URL% ) powershell -Command "&{"^ "$webclient = new-object System.Net.WebClient;"^ "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ "}"^Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Feb 26 01:48:39 GMT 2020 - 6.5K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts
publishNormalizedToLocalRepository() } } val pgpSigningKey: Provider<String> = providers.environmentVariable("PGP_SIGNING_KEY") val signArtifacts: Boolean = !pgpSigningKey.orNull.isNullOrEmpty() tasks.withType<Sign>().configureEach { isEnabled = signArtifacts } signing { useInMemoryPgpKeys( project.providers.environmentVariable("PGP_SIGNING_KEY").orNull,
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Oct 30 16:56:31 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Strings.isNullOrEmpty; import static com.google.common.collect.Iterables.concat; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.nCopies;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.1K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
val pgpSigningPassPhrase: Provider<String> = providers.environmentVariable("PGP_SIGNING_KEY_PASSPHRASE") val signArtifacts: Boolean = !pgpSigningKey.orNull.isNullOrEmpty() tasks.withType<Sign>().configureEach { isEnabled = signArtifacts } signing { useInMemoryPgpKeys(pgpSigningKey.orNull, pgpSigningPassPhrase.orNull) publishing.publications.configureEach {
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Jul 02 12:28:02 GMT 2025 - 6.1K bytes - Click Count (0) -
mvnw.cmd
echo Downloading from: %WRAPPER_URL% ) powershell -Command "&{"^ "$webclient = new-object System.Net.WebClient;"^ "if (-not ([string]::IsNullOrEmpty('%MVNW_USERNAME%') -and [string]::IsNullOrEmpty('%MVNW_PASSWORD%'))) {"^ "$webclient.Credentials = new-object System.Net.NetworkCredential('%MVNW_USERNAME%', '%MVNW_PASSWORD%');"^ "}"^Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Oct 14 22:24:15 GMT 2024 - 7.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.base.Strings.isNullOrEmpty; import static com.google.common.collect.Iterables.concat; import static com.google.common.collect.Lists.newArrayList; import static com.google.common.truth.Truth.assertThat; import static java.util.Collections.nCopies;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RouteSelector.kt
// Try each of the ProxySelector choices until one connection succeeds. val proxiesOrNull = address.proxySelector.select(uri) if (proxiesOrNull.isNullOrEmpty()) return immutableListOf(Proxy.NO_PROXY) return proxiesOrNull.toImmutableList() } call.eventListener.proxySelectStart(call, url) proxies = selectProxies() nextProxyIndex = 0Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 7.3K bytes - Click Count (2) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
internal fun <T> immutableListOf(vararg elements: T): List<T> = elements.toImmutableList() /** Returns an immutable list from copy of this. */ internal fun <T> Array<out T>?.toImmutableList(): List<T> = when { this.isNullOrEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) else -> this.clone().asList().unmodifiable() } /** Closes this, ignoring any checked exceptions. */
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 10.2K bytes - Click Count (1)