- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 19 for isOptional (0.1 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
val tag: Long, /** Encode and decode the value once tags are handled. */ private val codec: Codec<T>, /** True if the default value should be used if this value is absent during decoding. */ val isOptional: Boolean = false, /** The value to return if this value is absent. Undefined unless this is optional. */ val defaultValue: T? = null, /** True to set the encoded or decoded value as the type hint for the current SEQUENCE. */
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java
* * @return {@code true} if the dependency is optional, or {@code false} if mandatory * @see DependencyCoordinates#getOptional() */ boolean isOptional(); /** * {@return coordinates with the same identifiers as this dependency}. */ @Nonnull @Override DependencyCoordinates toCoordinates();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jun 26 07:56:58 GMT 2025 - 2.8K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyCoordinatesFactoryRequest.java
/** * * @since 4.0.0 */ @Experimental @Immutable public interface DependencyCoordinatesFactoryRequest extends ArtifactCoordinatesFactoryRequest { String getScope(); boolean isOptional(); @Nonnull Collection<Exclusion> getExclusions(); @Nonnull static DependencyCoordinatesFactoryRequest build( @Nonnull Session session, String groupId,Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 12.1K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java
&& Objects.equals(a1.getScope(), a2.getScope()) && Objects.equals(a1.getDependencyFilter(), a2.getDependencyFilter()) && a1.isOptional() == a2.isOptional(); } private static int repositoryHashCode(ArtifactRepository repository) { int result = 17; result = 31 * result + (repository.getId() != null ? repository.getId().hashCode() : 0);
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 11.8K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ActiveProjectArtifact.java
public void setAvailableVersions(List<ArtifactVersion> versions) { artifact.setAvailableVersions(versions); } /** {@inheritDoc} */ @Override public boolean isOptional() { return artifact.isOptional(); } /** {@inheritDoc} */ @Override public ArtifactVersion getSelectedVersion() throws OverConstrainedVersionException { return artifact.getSelectedVersion();
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 9.9K bytes - Click Count (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
isOptional: Boolean = false, optionalValue: Any? = null, ): DerAdapter<Any?> { return object : DerAdapter<Any?> { override fun matches(header: DerHeader): Boolean = true override fun toDer( writer: DerWriter, value: Any?, ) { when { isOptional && value == optionalValue -> { // Write nothing.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
// we don't add it or its children, just allow the update of the version and artifactScope if (node.isChildOfRootNode() || !artifact.isOptional()) { artifact.setDependencyTrail(node.getDependencyTrail()); set.add(node); // This is required right now.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 36.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java
return null; } org.apache.maven.artifact.Artifact result = toArtifact(dependency.getArtifact()); result.setScope(dependency.getScope()); result.setOptional(dependency.isOptional()); return result; } public static org.apache.maven.artifact.Artifact toArtifact(Artifact artifact) { if (artifact == null) { return null; }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Sep 04 18:33:16 GMT 2025 - 15.8K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java
range, artifact.getScope(), artifact.getType(), artifact.getClassifier(), artifact.getArtifactHandler(), artifact.isOptional()); clone.setRelease(artifact.isRelease()); clone.setResolvedVersion(artifact.getVersion()); clone.setResolved(artifact.isResolved()); clone.setFile(artifact.getFile());Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 6.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java
dependency.getArtifactId(), versionRange, dependency.getType(), dependency.getClassifier(), effectiveScope, dependency.isOptional()); if (inheritedFilter != null && !inheritedFilter.include(dependencyArtifact)) { return null; } if (Artifact.SCOPE_SYSTEM.equals(effectiveScope)) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 6.2K bytes - Click Count (0)