- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for type (0.13 sec)
-
maven-compat/src/test/java/org/apache/maven/SimpleLookup.java
} @Override public <T> T lookup(Class<T> type) { return objects.stream() .filter(type::isInstance) .map(type::cast) .findAny() .orElseThrow(() -> new LookupException("No service of type " + type)); } @Override public <T> T lookup(Class<T> type, String name) { return null; } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 15:10:38 GMT 2024 - 2K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/repository/TestArtifactHandler.java
* */ @Deprecated class TestArtifactHandler implements ArtifactHandler { private String type; private String extension; public TestArtifactHandler(String type) { this(type, type); } public TestArtifactHandler(String type, String extension) { this.type = type; this.extension = extension; } @Override public String getClassifier() {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 1.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java
import static japicmp.model.JApiCompatibilityChange.METHOD_ADDED_TO_PUBLIC_CLASS; import static japicmp.model.JApiCompatibilityChange.METHOD_REMOVED; import static japicmp.model.JApiCompatibilityChange.METHOD_RETURN_TYPE_CHANGED; public class UpgradedProperties { private static final Pattern SETTER_REGEX = Pattern.compile("set[A-Z].*"); private static final Pattern GETTER_REGEX = Pattern.compile("get[A-Z].*");
Java - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 6.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/VersionsMetadata.java
if (!artifact.isSnapshot()) { versioning.release(artifact.getBaseVersion()); } if ("maven-plugin".equals(artifact.getProperty(ArtifactProperties.TYPE, ""))) { versioning.latest(artifact.getBaseVersion()); } metadata.versioning(versioning.build()); return metadata.build(); } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 10:10:21 GMT 2024 - 4.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/MavenSessionBuilderSupplier.java
} /** * This method produces "surrogate" type registry that is static: it aims users that want to use * Maven-Resolver without involving Maven Core and related things. * <p> * This type registry is NOT used by Maven Core: Maven replaces it during Session creation with a type registry * that supports extending it (i.e. via Maven Extensions). * <p>
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu May 02 16:33:18 GMT 2024 - 7.4K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/SessionScoped.java
import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that annotated component should be instantiated before session execution starts * and discarded after session execution completes. * * TODO: this is currently not implemented * * @since 4.0.0 */ @Scope @Documented @Retention(RUNTIME) @Target({TYPE, METHOD})
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Apr 22 13:58:08 GMT 2024 - 1.4K bytes - Viewed (0) -
api/maven-api-di/src/main/java/org/apache/maven/api/di/MojoExecutionScoped.java
import java.lang.annotation.Documented; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Indicates that the annotated bean has a lifespan limited to a given mojo execution,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Apr 22 13:58:08 GMT 2024 - 1.4K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
Type type = types.get(id); if (type == null) { // Copy data as the ArtifactHandler is not immutable, but Type should be. ArtifactHandler handler = manager.getArtifactHandler(id); type = new DefaultType( id, languageRegistry.require(handler.getLanguage()), handler.getExtension(),
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 14:13:36 GMT 2024 - 3.8K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java
Artifact artifact = factory.createDependencyArtifact( "test-grp", "test-artifact", VersionRange.createFromVersion("1.0"), "type", null, "system", "provided"); Artifact artifact2 = factory.createDependencyArtifact( "test-grp", "test-artifact-2", VersionRange.createFromVersion("1.0"), "type", null, "system", "test"); Artifact artifact3 = factory.createDependencyArtifact( "test-grp",
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Supplier.java
* "https://github.com/google/guava/wiki/FunctionalExplained">the use of functional types</a>. * * <h3>For Java 8+ users</h3> * * <p>This interface is now a legacy type. Use {@code java.util.function.Supplier} (or the * appropriate primitive specialization such as {@code IntSupplier}) instead whenever possible. * Otherwise, at least reduce <i>explicit</i> dependencies on this type by using lambda expressions
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 2.5K bytes - Viewed (0)