Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 799 for thrown (0.03 seconds)

  1. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

                additionalJapicmpClasspath.from(resolveKotlinCompilerEmbeddable());
            } catch (Exception e) {
                throw new RuntimeException("Got an error while patching JapicmpTask task", e);
            }
        }
    
        private Configuration resolveKotlinCompilerEmbeddable() {
            Project project = getProject();
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. compat/maven-artifact/src/test/java/org/apache/maven/artifact/ArtifactUtilsTest.java

        }
    
        /**
         * Tests that the ordering of the map resembles the ordering of the input collection of artifacts.
         */
        @Test
        void testArtifactMapByVersionlessIdOrdering() throws Exception {
            List<Artifact> list = new ArrayList<>();
            list.add(newArtifact("b"));
            list.add(newArtifact("a"));
            list.add(newArtifact("c"));
            list.add(newArtifact("e"));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  3. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

        //
        // p4 ---> p3 ---> p2 ---> p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testProjectInheritance() throws Exception {
            MavenProject p4 = getProject(projectFile("p4"));
    
            assertEquals("p4", p4.getName());
    
            // ----------------------------------------------------------------------
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.5K bytes
    - Click Count (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/PropertyDoc.groovy

            this.referringClass = referringClass
            this.metaData = propertyMetaData
            id = "${referringClass.className}:$name"
            this.comment = comment
            if (additionalValues == null) {
                throw new NullPointerException("additionalValues constructor var is null for referringClass: $referringClass")
            }
            this.additionalValues = additionalValues
        }
    
        PropertyDoc forClass(ClassDoc referringClass) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 25 08:14:29 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  5. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/ide/AndroidStudioSystemProperties.kt

                return "-Dstudio.home=$androidStudioPath"
            } else if (androidStudioHome.isPresent) {
                return "-Dstudio.home=${androidStudioHome.get()}"
            }
            throw IllegalArgumentException("Android Studio home must be provided via the 'studioHome' system property, or auto downloading must be enabled via `autoDownloadAndroidStudio=true` gradle property, system property, or environment variable")
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Feb 20 09:51:32 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java

            return false;
        }
    
        @Override
        public boolean isLeaf() {
            return node.children().isEmpty();
        }
    
        @Override
        public void setValue(Object value) {
            throw new UnsupportedOperationException();
        }
    
        @Override
        public NodeIterator childIterator(NodeTest test, boolean reverse, NodePointer startWith) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRule.java

                return null;
            } else if (since instanceof SinceTagStatus.Missing) {
                return acceptOrReject(member, Violation.error(member, SINCE_ERROR_MESSAGE + getCurrentVersion()));
            } else {
                throw new IllegalStateException("Unknown status: " + since);
            }
        }
    
        private boolean shouldSkipViolationCheckFor(JApiCompatibility member) {
            return !isClassFieldConstructorOrMethod(member) ||
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

        /**
         * Interpolates given {@code path}.
         *
         * @return absolute path or {@code null} if the input was {@code null}
         */
        public String interpolate(String path, ProfileActivationContext context) throws InterpolationException {
            if (path == null) {
                return null;
            }
    
            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/artifact/handler/ArtifactHandlerTest.java

    @PlexusTest
    class ArtifactHandlerTest {
        @Inject
        PlexusContainer container;
    
        @Test
        @SuppressWarnings("checkstyle:UnusedLocalVariable")
        void testAptConsistency() throws Exception {
            File apt = getTestFile("src/site/apt/artifact-handlers.apt");
    
            List<String> lines = Files.readAllLines(apt.toPath());
    
            for (String line : lines) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

            for (Lifecycle lifecycle : this) {
                Set<String> set = new HashSet<>();
                lifecycle.allPhases().forEach(phase -> {
                    if (!set.add(phase.name())) {
                        throw new IllegalArgumentException(
                                "Found duplicated phase '" + phase.name() + "' in '" + lifecycle.id() + "' lifecycle");
                    }
                });
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 20.1K bytes
    - Click Count (0)
Back to Top