- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 458 for optionally (0.09 seconds)
-
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy
} def "method removal can be reported if current class is first public class"() { given: apiClass.oldClass >> Optional.of(classes['OldBase']) apiClass.newClass >> Optional.of(classes['NewBase']) when: Violation violation = rule.maybeViolation(apiClass) then: violation.humanExplanation.contains('SuperInternal.publicMethod()')Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 3.2K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
assertEquals( com.google.common.base.Optional.absent(), generator.generateFresh(new TypeToken<com.google.common.base.Optional<String>>() {})); assertEquals( com.google.common.base.Optional.of("2"), generator.generateFresh(new TypeToken<com.google.common.base.Optional<String>>() {})); // Test that the first generated instance for different cgcb.Optional<T> is always absent().
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 17.4K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/GradleModuleExtension.kt
return flags.entries .map { entry -> entry.key.map { when (it) { true -> Optional.of(entry.value) false -> Optional.empty() } }.orElse(provider { throw GradleException("Expected boolean flag to be configured") }) }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:40:18 GMT 2026 - 4.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
} public static Optional<AccessorKey> maybeGetKeyOfOldAccessorOfUpgradedProperty(JApiCompatibility jApiCompatibility, ViolationCheckContext context) { if (!(jApiCompatibility instanceof JApiMethod) || ((JApiMethod) jApiCompatibility).getOldMethod().isEmpty()) { return Optional.empty(); } JApiMethod jApiMethod = (JApiMethod) jApiCompatibility;Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 9.3K bytes - Click Count (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 22:46:35 GMT 2026 - 5.8K bytes - Click Count (0) -
guava/src/com/google/common/base/Enums.java
} catch (NoSuchFieldException impossible) { throw new AssertionError(impossible); } } /** * Returns an optional enum constant for the given type, using {@link Enum#valueOf}. If the * constant does not exist, {@link Optional#absent} is returned. A common use case is for parsing * user input or falling back to a default enum constant. For example, {@code
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 01 13:41:58 GMT 2025 - 4.8K bytes - Click Count (0) -
src/main/webapp/js/admin/plugins/form-validator/logic.js
ingInputs=this.dependingInputs||[],this.dependingInputs.push(c)})})},c=function(b,c){var d=function(){var c=a(this),d=c.valAttr("optional-if-answered"),e=!1,f=!!a.formUtils.getValue(c);f||(a.each(a.split(d),function(c,d){var f=b.find('[name="'+d+'"]');if(e=!!a.formUtils.getValue(f))return!1}),e&&c.valAttr("skipped",1))},e=function(){var d=a(this),e=d.valAttr("optional-if-answered");a.each(a.split(e),function(d,e){var f=b.find('[name="'+e+'"]'),g=!!a.formUtils.getValue(f);g||a.formUtils.dialogs.r...
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Mon Jan 01 05:12:47 GMT 2018 - 2.1K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/10_contributor_bug_report.yml
id: build-scan-url attributes: label: Build scan URL (optional) description: | You can run your build command with `--scan` to publish a Build Scan to [scans.gradle.com](https://scans.gradle.com/). validations: required: false - type: textarea id: environment attributes: label: Your Environment (optional) description: |Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Sep 09 14:48:49 GMT 2024 - 3K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/RangeSet.java
*/ RangeSet<C> complement(); /** * Returns a view of the intersection of this {@code RangeSet} with the specified range. * * <p>The returned view supports all optional operations supported by this {@code RangeSet}, with * the caveat that an {@link IllegalArgumentException} is thrown on an attempt to {@linkplain
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 9.8K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
stablePublicInterface = instanceScopedPool.get(StablePublicInterface.name) apiClass.changeStatus >> JApiChangeStatus.MODIFIED apiClass.oldClass >> Optional.of(oldBase) apiClass.newClass >> Optional.of(newBase) internalInterface.name = replaceAsInternal(internalInterface.name) interfaces = ['internal': internalInterface,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 4K bytes - Click Count (0)