Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for Revoke (0.07 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPrompter.java

                Object instance = container.lookup(clazz);
                Method method = clazz.getMethod("prompt", String.class, List.class, String.class);
                return (String) method.invoke(instance, message, possibleValues, defaultReply);
            } catch (Exception e) {
                throw new PrompterException("Unable to call prompter", e);
            }
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/ChecksumHashFunction.java

    import com.google.errorprone.annotations.Immutable;
    import com.google.j2objc.annotations.J2ObjCIncompatible;
    import java.io.Serializable;
    import java.lang.invoke.MethodHandle;
    import java.lang.invoke.MethodHandles;
    import java.lang.invoke.MethodType;
    import java.lang.reflect.UndeclaredThrowableException;
    import java.nio.ByteBuffer;
    import java.util.zip.Checksum;
    import org.checkerframework.checker.nullness.qual.Nullable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:05:16 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
        assertEquals(1, prepender.times);
      }
    
      public void testConstructor_returning() throws Exception {
        Invokable<?, Prepender> delegate =
            Prepender.constructor(String.class, int.class).returning(Prepender.class);
        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
        assertEquals(1, prepender.times);
      }
    
      public void testConstructor_returning() throws Exception {
        Invokable<?, Prepender> delegate =
            Prepender.constructor(String.class, int.class).returning(Prepender.class);
        Prepender prepender = delegate.invoke(null, "a", 1);
        assertEquals("a", prepender.prefix);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    
        @Disabled("Until we move off fully from File")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/"), Arrays.asList("clean", "verify"));
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

        void defaultFs(@TempDir(cleanup = CleanupMode.ON_SUCCESS) Path tempDir) throws Exception {
            invoke(tempDir, Arrays.asList("clean", "verify"));
        }
    
        @Disabled("Until we move off fully from File")
        @Test
        void jimFs() throws Exception {
            try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) {
                invoke(fs.getPath("/"), Arrays.asList("clean", "verify"));
            }
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PreconditionsTest.java

          checkArgumentMethod.invoke(null /* static method */, getParametersForSignature(true, sig));
    
          Object[] failingParams = getParametersForSignature(false, sig);
          InvocationTargetException ite =
              assertThrows(
                  InvocationTargetException.class,
                  () -> checkArgumentMethod.invoke(null /* static method */, failingParams));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/AbstractFutureBenchmarks.java

          executionList.add(listener, exec);
        }
    
        /**
         * Subclasses should invoke this method to set the result of the computation to {@code value}.
         * This will set the state of the future to {@link OldAbstractFuture.Sync#COMPLETED} and invoke
         * the listeners if the state was successfully changed.
         *
         * @param value the value that was the result of the task.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenInvokerRequest.java

     * under the License.
     */
    package org.apache.maven.api.cli.mvn;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.cli.InvokerRequest;
    
    /**
     * Represents a request to invoke Maven.
     * This interface extends the general {@link InvokerRequest}, specializing it for Maven-specific operations.
     *
     * <p>A {@link MavenInvokerRequest} encapsulates all the necessary information needed to perform
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    public abstract class MavenInvokerTestSupport<O extends MavenOptions, R extends MavenInvokerRequest<O>> {
    
        protected void invoke(Path cwd, Collection<String> goals) throws Exception {
            // works only in recent Maven4
            Assumptions.assumeTrue(
                    Files.isRegularFile(Paths.get(System.getProperty("maven.home"))
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
Back to top