Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for DoNothing (0.14 sec)

  1. platforms/native/platform-native/src/main/java/org/gradle/nativeplatform/toolchain/internal/DefaultMutableCommandLineToolContext.java

    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    
    public class DefaultMutableCommandLineToolContext implements MutableCommandLineToolContext {
        private Action<List<String>> postArgsAction = Actions.doNothing();
        private final Map<String, String> environment = new HashMap<String, String>();
        private final List<File> path = new ArrayList<File>();
    
        @Override
        public void setArgAction(Action<List<String>> argAction) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelRegistrations.java

            return unmanagedInstance(modelReference, Factories.constant(instance), Actions.doNothing());
        }
    
        public static <T> Builder unmanagedInstance(ModelReference<T> modelReference, final Factory<? extends T> factory) {
            return unmanagedInstance(modelReference, factory, Actions.doNothing());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testRunWithTimeout_returnsWithoutException() throws Exception {
        timeLimiter.runWithTimeout(Runnables.doNothing(), DELAY_MS, TimeUnit.MILLISECONDS);
      }
    
      public void testRunWithTimeout_wrapsUncheckedException() throws Exception {
        RuntimeException exception = new RuntimeException("test");
        UncheckedExecutionException e =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/internal/precompiled/ExtractPluginRequestsTask.java

                scriptPlugin.getFirstPassSource(), classLoaderScope.getExportClassLoader(), outputDir, outputDir, pluginsCompileOperation,
                FirstPassPrecompiledScript.class, Actions.doNothing());
    
            getFileSystemOperations().sync(copySpec -> {
                copySpec.from(getExtractedPluginRequestsClassesDirectory().getAsFileTree().getFiles()).include("**.class");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccess.java

                    fileLock.close();
                } finally {
                    fileLock = null;
                }
            }
        }
    
        @Override
        public Runnable acquireFileLock() {
            return Runnables.doNothing();
        }
    
        @Override
        public <T> T withFileLock(Supplier<T> factory) {
            return factory.get();
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 01 12:21:15 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DefaultArtifactRepositoryContainer.java

        }
    
        public <T extends ArtifactRepository> T addRepository(T repository, String defaultName) {
            return addRepository(repository, defaultName, Actions.doNothing());
        }
    
        public <T extends ArtifactRepository> T addRepository(T repository, String defaultName, Action<? super T> configureAction) {
            configureAction.execute(repository);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/FakeTimeLimiterTest.java

        assertThat(result).isEqualTo(RETURN_VALUE);
      }
    
      public void testRunWithTimeout_returnsWithoutException() throws Exception {
        timeLimiter.runWithTimeout(Runnables.doNothing(), DELAY_MS, TimeUnit.MILLISECONDS);
      }
    
      public void testRunWithTimeout_wrapsUncheckedException() throws Exception {
        RuntimeException exception = new RuntimeException("test");
        UncheckedExecutionException e =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/DefaultDependencySet.java

        protected Action<ModuleDependency> toMutationValidator(final Configuration clientConfiguration) {
            return clientConfiguration instanceof MutationValidator ? new MutationValidationAction(clientConfiguration) : Actions.doNothing();
        }
    
        @Override
        public String toString() {
            return displayName.getDisplayName();
        }
    
        @Override
        public TaskDependency getBuildDependencies() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/init_scripts.adoc

    ====
    
    [source.multi-language-sample,kotlin]
    ----
    > gradle --init-script init.gradle.kts -q doNothing
    include::{snippetsPath}/initScripts/externalDependency/tests-common/externalInitDependency.out[]
    ----
    [source.multi-language-sample,groovy]
    ----
    > gradle --init-script init.gradle -q doNothing
    include::{snippetsPath}/initScripts/externalDependency/tests-common/externalInitDependency.out[]
    ----
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractionContext.java

            return children;
        }
    
        @Override
        public <C> DefaultModelSchemaExtractionContext<C> child(ModelType<C> type, String description) {
            return child(type, description, Actions.doNothing());
        }
    
        @Override
        public <C> DefaultModelSchemaExtractionContext<C> child(ModelType<C> type, String description, Action<? super ModelSchema<C>> validator) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.2K bytes
    - Viewed (0)
Back to top