Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 799 for thrown (0.04 seconds)

  1. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

         */
        public UrlSource(URL url) {
            this.url = Objects.requireNonNull(url, "url cannot be null");
            this.hashCode = Objects.hashCode(url);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return url.openStream();
        }
    
        @Override
        public String getLocation() {
            return url.toString();
        }
    
        /**
         * Gets the URL of this source.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 15 18:51:29 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. docs/bigdata/README.md

    ### **4.1 Spark Pi**
    
    Test the Spark installation by running the following compute intensive example, which calculates pi by “throwing darts” at a circle. The program generates points in the unit square ((0,0) to (1,1)) and counts how many points fall within the unit circle within the square. The result approximates pi.
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 14.7K bytes
    - Click Count (0)
  3. impl/maven-core/src/test/java/org/apache/maven/project/GraphTest.java

    import static org.junit.jupiter.api.Assertions.assertThrows;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    public class GraphTest {
    
        @Test
        public void testGraph() throws CycleDetectedException {
            Graph graph = new Graph();
            graph.addVertex("a");
            assertEquals(1, graph.getVertices().size());
            assertEquals("a", graph.getVertex("a").getLabel());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/stub/CompletionServiceStub.java

        }
    
        @Override
        public Future<ProjectSegment> take() throws InterruptedException {
            return null;
        }
    
        @Override
        public Future<ProjectSegment> poll() {
            return null;
        }
    
        @Override
        public Future<ProjectSegment> poll(long timeout, TimeUnit unit) throws InterruptedException {
            return null;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivatorTest.java

     *
     */
    @Deprecated
    class OperatingSystemProfileActivatorTest extends AbstractProfileActivatorTest<OperatingSystemProfileActivator> {
    
        @Override
        @BeforeEach
        void setUp() throws Exception {
            activator = new OperatingSystemProfileActivator();
        }
    
        private Profile newProfile(ActivationOS.Builder activationBuilder) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/lifecycle/internal/PhaseRecorderTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     */
    class PhaseRecorderTest {
        @Test
        void testObserveExecution() throws Exception {
            PhaseRecorder phaseRecorder = new PhaseRecorder(ProjectDependencyGraphStub.A);
            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/transformation/TransformerManager.java

        DeployRequest remapDeployArtifacts(RepositorySystemSession session, DeployRequest request);
    
        void injectTransformedArtifacts(RepositorySystemSession repositorySession, MavenProject currentProject)
                throws IOException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/MavenPluginPrerequisitesChecker.java

     */
    @FunctionalInterface
    public interface MavenPluginPrerequisitesChecker extends Consumer<PluginDescriptor> {
        /**
         *
         * @param pluginDescriptor the plugin descriptor to check
         * @throws IllegalStateException in case the checked prerequisites are not met
         */
        @Override
        void accept(PluginDescriptor pluginDescriptor);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 09 16:35:21 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java

                Class<? extends Scope> ss) {
            injector.bindScope(sa, () -> {
                try {
                    return containerProvider.get().lookup(ss);
                } catch (ComponentLookupException e) {
                    throw new RuntimeException(e);
                }
            });
        }
    
        static class BridgeInjectorImpl extends InjectorImpl {
            final Provider<BeanLocator> locator;
            final Binder binder;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 16:01:38 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellParser.java

        protected Options parseCliOptions(LocalContext context) {
            try {
                return CommonsCliShellOptions.parse(context.parserRequest.args().toArray(new String[0]));
            } catch (ParseException e) {
                throw new IllegalArgumentException("Failed to parse command line options: " + e.getMessage(), e);
            }
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top