- Sort Score
- Num 10 results
- Language All
Results 261 - 270 of 309 for Nonnull (0.09 seconds)
-
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampValueSource.kt
timeZone = TimeZone.getTimeZone("UTC") } return formatter.format(Date(0L)) } val buildTimestampFromReceipt = buildTimestampFromBuildReceipt.orNull if (buildTimestampFromReceipt != null) { println("Using timestamp from incoming build receipt: $buildTimestampFromReceipt") return buildTimestampFromReceipt }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 05 17:24:26 GMT 2025 - 3.7K bytes - Click Count (0) -
build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts
val signArtifacts: Boolean = !pgpSigningKey.orNull.isNullOrEmpty() tasks.withType<Sign>().configureEach { isEnabled = signArtifacts } signing { useInMemoryPgpKeys(pgpSigningKey.orNull, pgpSigningPassPhrase.orNull) publishing.publications.configureEach { if (signArtifacts) { signing.sign(this) } }
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Mar 13 11:01:20 GMT 2026 - 6.2K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Present.java
public boolean isPresent() { return true; } @Override public T get() { return reference; } @Override public T or(T defaultValue) { checkNotNull(defaultValue, "use Optional.orNull() instead of Optional.or(null)"); return reference; } @Override public Optional<T> or(Optional<? extends T> secondChoice) { checkNotNull(secondChoice); return this; } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Apr 15 22:14:00 GMT 2025 - 2.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Optional.java
*/ @SuppressWarnings("AmbiguousMethodReference") // We chose the name despite knowing this risk. 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. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.1K bytes - Click Count (0) -
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. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Jun 04 13:03:16 GMT 2025 - 15.4K bytes - Click Count (0) -
schema/index_test.go
}, }, { Class: "UNIQUE", Name: "idx_user_indices_idx_compname_1", Option: "NULLS NOT DISTINCT", Fields: []schema.IndexOption{ {Field: &schema.Field{Name: "CompName1", NotNull: true}}, {Field: &schema.Field{Name: "CompName2"}}, }, }, { Name: "idx_user_indices_comp_id0", Type: "", Fields: []schema.IndexOption{{ Field: &schema.Field{Name: "Data0A"},Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Dec 06 02:27:44 GMT 2024 - 7.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/mylasta/mail/TestmailPostcard.java
/** * Set the value of hostname, used in parameter comment. <br> * Even if empty string, treated as empty plainly. So "IF pmb != null" is false if empty. * @param hostname The parameter value of hostname. (NotNull) */ public void setHostname(String hostname) { registerVariable("hostname", hostname); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 15 06:53:53 GMT 2025 - 3.9K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/provider/BuildTimestampFromBuildReceiptValueSource.kt
else -> it } } private fun Parameters.buildReceiptString(): String? = when { ignoreIncomingBuildReceipt.get() -> null else -> buildReceiptFileContents.orNull }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 1.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/OptionalTest.java
} @SuppressWarnings("OptionalOfRedundantMethod") // Unit tests for Optional public void testOrNull_present() { assertThat(Optional.of("a").orNull()).isEqualTo("a"); } public void testOrNull_absent() { assertThat(Optional.absent().orNull()).isNull(); } public void testAsSet_present() { Set<String> expected = Collections.singleton("a");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 15:59:55 GMT 2026 - 10.6K bytes - Click Count (0) -
build-logic-commons/code-quality-rules/src/main/resources/checkstyle/checkstyle.xml
<!-- We prefer org.jspecify for nullability annotations. --> <property name="illegalClasses" value="org.jetbrains.annotations.Nullable,org.jetbrains.annotations.NotNull"/> </module> <!-- Naming --> <module name="ConstantName"/> <module name="LocalFinalVariableName"/> <module name="LocalVariableName"/> <module name="MemberName">Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Dec 11 10:24:25 GMT 2025 - 6.6K bytes - Click Count (0)