Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 771 - 780 of 1,203 for void (0.01 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            AndArtifactFilter filter1 = new AndArtifactFilter();
    
            AndArtifactFilter filter2 = new AndArtifactFilter(Arrays.asList(newSubFilter()));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  2. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java

            this.delegate = requireNonNull(delegate, "delegate cannot be null");
            this.childrenTracking = parent;
        }
    
        public Object getDelegate() {
            return delegate;
        }
    
        public void update(Object newDelegate) {
            if (delegate != newDelegate) {
                if (childrenTracking != null) {
                    childrenTracking.replace(delegate, newDelegate);
                }
                delegate = newDelegate;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTaskWithKotlin.java

            super();
            addKotlinCompilerToJapicmpClasspath();
            getMaxWorkerHeap().convention("1g");
        }
    
        // it's easier to do this via reflection than to copy the whole task
        private void addKotlinCompilerToJapicmpClasspath() {
            try {
                Field additionalJapicmpClasspathField = JapicmpTask.class.getDeclaredField("additionalJapicmpClasspath");
    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)
  4. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java

            if (!context.parsingFailed) {
                validate(context);
            }
    
            return getInvokerRequest(context);
        }
    
        protected void validate(LocalContext context) {
            Options options = context.options;
    
            options.failOnSeverity().ifPresent(severity -> {
                String c = severity.toLowerCase(Locale.ENGLISH);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:39:11 GMT 2025
    - 25.5K bytes
    - Click Count (0)
  5. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIManagerDocumentationTest.java

                sb.append("</td>");
    
                sb.append("</tr>");
                sb.append(LS);
            }
            sb.append("</table>");
            return sb.toString();
        }
    
        @Test
        void testOptionsAsHtml() throws IOException {
            Path options = Paths.get("target/test-classes/options.html");
            Files.writeString(options, getOptionsAsHtml(), StandardCharsets.UTF_8);
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java

         *
         * @param session The Maven session context
         * @param toolchain The toolchain to store
         * @throws ToolchainManagerException if storing the toolchain fails
         */
        void storeToolchainToBuildContext(@Nonnull Session session, @Nonnull Toolchain toolchain)
                throws ToolchainManagerException;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t10/ProjectInheritanceTest.java

        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagementOverridesTransitiveDependencyVersion() throws Exception {
            File localRepo = getLocalRepositoryPath();
    
            File pom0 = new File(localRepo, "p0/pom.xml");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  8. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

        }
    
        private Set<CtMethod> collectAllPublicApiMethods(CtClass c) {
            Set<CtMethod> result = [] as Set
            collect(result, c)
            return result
        }
    
        private void collect(Set<CtMethod> result, CtClass c) {
            if (c == null) {
                return
            }
    
            result.addAll(c.declaredMethods.findAll { isPublicApi(it) })
    
            collect(result, c.superclass)
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

        @Override
        public Object get(String groupId, String artifactId, String version, String tag) {
            return cache.get(session, new Key(groupId, artifactId, version, tag));
        }
    
        @Override
        public void put(String groupId, String artifactId, String version, String tag, Object data) {
            cache.put(session, new Key(groupId, artifactId, version, tag), data);
        }
    
        static class Key {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/MavenUpCling.java

    public class MavenUpCling extends ClingSupport {
        /**
         * "Normal" Java entry point. Note: Maven uses ClassWorld Launcher and this entry point is NOT used under normal
         * circumstances.
         */
        public static void main(String[] args) throws IOException {
            int exitCode = new MavenUpCling().run(args, null, null, null, false);
            System.exit(exitCode);
        }
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 3K bytes
    - Click Count (0)
Back to Top