- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 375 for APPLY (0.11 seconds)
-
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/Apply.java
import org.apache.maven.api.di.Named; import org.apache.maven.api.di.Singleton; import org.apache.maven.cling.invoker.mvnup.UpgradeContext; /** * The "apply" goal implementation. */ @Named("apply") @Singleton public class Apply extends AbstractUpgradeGoal { @Inject public Apply(StrategyOrchestrator orchestrator) { super(orchestrator); } @Override protected boolean shouldSaveModifications() {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 1.5K bytes - Click Count (0) -
build.gradle.kts
alias(libs.plugins.android.library) apply false alias(libs.plugins.android.application) apply false alias(libs.plugins.kotlin.jvm) apply false alias(libs.plugins.kotlin.multiplatform) apply false alias(libs.plugins.kotlin.serialization) apply false alias(libs.plugins.dokka) apply false alias(libs.plugins.maven.publish) apply false alias(libs.plugins.binary.compatibility.validator) apply false
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 839 bytes - Click Count (1) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ApplyTest.java
/** * Unit tests for the {@link Apply} goal class. * Tests the Apply-specific functionality including file modification behavior. */ @DisplayName("Apply") class ApplyTest { private Apply applyGoal; private StrategyOrchestrator mockOrchestrator; @BeforeEach void setUp() { mockOrchestrator = mock(StrategyOrchestrator.class); applyGoal = new Apply(mockOrchestrator); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 10:39:17 GMT 2025 - 4.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
apply { assertThat(response!!.code).isEqualTo(expectedCode) } fun assertSuccessful() = apply { assertThat(failure).isNull() assertThat(response!!.isSuccessful).isTrue() } fun assertNotSuccessful() = apply { assertThat(response!!.isSuccessful).isFalse() } fun assertHeader( name: String, vararg values: String?, ) = apply {Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.3K bytes - Click Count (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
else -> "Mock Response" } return apply { status = "HTTP/1.1 $code $reason" } } fun clearHeaders() = apply { headersBuilder = Headers.Builder() } fun addHeader(header: String) = apply { headersBuilder.add(header) } fun addHeader( name: String, value: Any, ) = apply { headersBuilder.add(name, value.toString()) }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat May 10 11:15:14 GMT 2025 - 7.1K bytes - Click Count (1) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/UpgradeWorkflowIntegrationTest.java
TestUtils.createMockContext(tempDir, TestUtils.createOptionsWithModelVersion("4.1.0")); // Execute apply goal int result = applyGoal.execute(context); // Verify success assertEquals(0, result, "Apply should succeed"); // Verify POM was upgraded String upgradedPom = Files.readString(pomFile); assertTrue(
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 10:01:14 GMT 2025 - 9.3K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/InternalPrecommitTasks.java
project.getPluginManager().apply(CheckstylePrecommitPlugin.class); project.getPluginManager().apply(ForbiddenApisPrecommitPlugin.class); project.getPluginManager().apply(ForbiddenPatternsPrecommitPlugin.class); project.getPluginManager().apply(LicenseHeadersPrecommitPlugin.class); project.getPluginManager().apply(FilePermissionsPrecommitPlugin.class);
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 22 14:34:07 GMT 2021 - 1.9K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/RestResourcesPluginFuncTest.groovy
def "restResources does nothing when there are no tests"() { given: internalBuild() buildFile << """ apply plugin: 'elasticsearch.java' apply plugin: 'elasticsearch.rest-resources' """ String api = "foo.json" setupRestResources([api]) when:Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jul 20 21:05:16 GMT 2021 - 7K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java
@Override public void apply(Project project) { // make sure the global build info plugin is applied to the root project project.getRootProject().getPluginManager().apply(GlobalBuildInfoPlugin.class); // common repositories setup project.getPluginManager().apply(JavaBasePlugin.class); project.getPluginManager().apply(RepositoriesSetupPlugin.class);Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 16:04:42 GMT 2021 - 8K bytes - Click Count (0)