- Sort Score
- Num 10 results
- Language All
Results 171 - 180 of 991 for toOptional (0.06 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectManager.java
this.session = session; this.artifactManager = artifactManager; } @Nonnull @Override public Optional<Path> getPath(@Nonnull Project project) { requireNonNull(project, "project" + " cannot be null"); Optional<ProducedArtifact> mainArtifact = project.getMainArtifact(); return mainArtifact.flatMap(artifactManager::getPath); } @Nonnull @OverrideCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 17 16:17:01 GMT 2025 - 10.9K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
} @Override public Optional<Long> lengthIfKnown() { long result = 0L; for (CharSource source : sources) { Optional<Long> lengthIfKnown = source.lengthIfKnown(); if (!lengthIfKnown.isPresent()) { return Optional.absent(); } result += lengthIfKnown.get(); } return Optional.of(result); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Feb 23 19:19:10 GMT 2026 - 25.7K bytes - Click Count (0) -
fastapi/security/http.py
be `None`. This is useful when you want to have optional authentication. It is also useful when you want to have authentication that can be provided in one of multiple optional ways (for example, in HTTP Basic authentication or in an HTTP Bearer token). """ ),Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 16 10:16:48 GMT 2026 - 13.1K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t05/maven-test/poms/t05-b-2.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t05-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 622 bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t08/maven-test/poms/t08-b-1.0.pom
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t08-d</artifactId> <version>1.1</version> <type>jar</type> <scope>compile</scope> <optional>false</optional> </dependency> </dependencies>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 622 bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/30_contributor_regression.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 - 2.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/DependencyCoordinates.java
*/ @Nonnull DependencyScope getScope(); /** * Returns whether the dependency is optional, mandatory, or of unspecified obligation. * * @return {@code Boolean.TRUE} and {@code Boolean.FALSE} if optional, or {@code null} if unspecified */ @Nullable Boolean getOptional(); /** * {@return transitive dependencies to exclude} */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 14:29:21 GMT 2025 - 2.5K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/p1/pom.xml
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-d</artifactId> <version>1.0</version> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>maven-test</groupId> <artifactId>t06-a</artifactId> <version>1.0</version>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.3K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/pom.xml
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-d</artifactId> <version>1.2</version> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> </dependencyManagement>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 992 bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CoordinatorHelper.java
return tryStartOperation(operationName, null); } /** * Attempts to acquire a distributed lock for the specified operation with optional data. * * @param operationName the operation name used as the lock document ID. * @param data optional data to store with the operation document. * @return {@code true} if the lock was acquired. */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:59:19 GMT 2026 - 33.3K bytes - Click Count (0)