Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 769 for APPLY (0.02 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoal.java

            context.info("Found " + pomMap.size() + " POM file(s)");
    
            // Perform the upgrade logic
            int result = doUpgrade(context, targetModel, pomMap);
    
            // Save modifications if this is an apply goal
            if (shouldSaveModifications() && result == 0) {
                saveModifications(context, pomMap);
            }
    
            return result;
        }
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java

     *
     * <p>This class provides the same functionality as StrategyOrchestrator but works
     * with domtrip-based strategies for superior formatting preservation.
     *
     * <p>Determines which strategies to apply based on options and executes them in priority order.
     * The DI container automatically sorts the injected strategies by their @Priority annotations.
     */
    @Named("strategy-orchestrator")
    @Singleton
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/precommit/ForbiddenApisPrecommitPlugin.java

    public class ForbiddenApisPrecommitPlugin extends PrecommitPlugin implements InternalPlugin {
        @Override
        public TaskProvider<? extends Task> createTask(Project project) {
            project.getPluginManager().apply(ForbiddenApisPlugin.class);
    
            TaskProvider<ExportElasticsearchBuildResourcesTask> resourcesTask = project.getTasks()
                .register("forbiddenApisResources", ExportElasticsearchBuildResourcesTask.class);
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 5.8K bytes
    - Click Count (0)
  4. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsRecordCodec.kt

      const val TYPE_AAAA = 0x001c
      private const val TYPE_PTR = 0x000c
      private val ASCII = Charsets.US_ASCII
    
      fun encodeQuery(
        host: String,
        type: Int,
      ): ByteString =
        Buffer()
          .apply {
            writeShort(0) // query id
            writeShort(256) // flags with recursion
            writeShort(1) // question count
            writeShort(0) // answerCount
            writeShort(0) // authorityResourceCount
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

     * generated in the same way as the user manual with cross-links between them.
     */
    public class GradleDslReferencePlugin implements Plugin<Project> {
        @Override
        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
            TaskContainer tasks = project.getTasks();
            ObjectFactory objects = project.getObjects();
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

        new ForwardingWrapperTester()
            .testForwarding(
                SortedSet.class,
                new Function<SortedSet, SortedSet>() {
                  @Override
                  public SortedSet apply(SortedSet delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        SortedSet<String> set1 = ImmutableSortedSet.of("one");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/TestWithSslPlugin.java

    import static org.elasticsearch.gradle.internal.precommit.ForbiddenPatternsPrecommitPlugin.FORBIDDEN_PATTERNS_TASK_NAME;
    
    public class TestWithSslPlugin implements Plugin<Project> {
    
        @Override
        public void apply(Project project) {
            File keyStoreDir = new File(project.getBuildDir(), "keystore");
            TaskProvider<ExportElasticsearchBuildResourcesTask> exportKeyStore = project.getTasks()
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 6.1K bytes
    - Click Count (0)
  8. android/guava-tests/test/com/google/common/base/ConverterTest.java

        Converter<String, Long> converter = STR_TO_LONG;
        assertEquals(converter, converter.reverse().reverse());
      }
    
      // We need to test that apply() does in fact behave like convert().
      @SuppressWarnings("InlineMeInliner")
      public void testApply() {
        assertEquals(LONG_VAL, STR_TO_LONG.apply(STR_VAL));
      }
    
      private static class StringWrapper {
        private final String value;
    
        StringWrapper(String value) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  9. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

      public void testForwarding() {
        new ForwardingWrapperTester()
            .testForwarding(
                Set.class,
                new Function<Set, Set>() {
                  @Override
                  public Set apply(Set delegate) {
                    return wrap(delegate);
                  }
                });
      }
    
      public void testEquals() {
        Set<String> set1 = ImmutableSet.of("one");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/CheckTest.java

                assertTrue(checkGoal instanceof AbstractUpgradeGoal, "Check should extend AbstractUpgradeGoal");
                assertFalse(checkGoal.shouldSaveModifications(), "Check should not save modifications unlike Apply goal");
            }
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Jun 07 06:22:47 GMT 2025
    - 4.9K bytes
    - Click Count (0)
Back to Top