Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 3,552 for METHOD (0.23 sec)

  1. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/rules/RuleSourceBackedRuleActionTest.groovy

            new RuleSourceWithDifferentSubjectType()  | [ "Method theRule(java.util.List<java.lang.Integer>) is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>" ]
            new RuleSourceWithNoSubject()             | [ "Method theRule() is not a valid rule method: First parameter of a rule method must be of type java.util.List<java.lang.String>" ]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/publishing/javaLibrary/groovy/src/main/java/org/gradle/HttpClientWrapper.java

            } finally {
                method.releaseConnection();
            }
            return null;
        }
    
        // GetMethod is used in a private method, so doesn't belong to the API
        private int doGet(GetMethod method) throws Exception {
            int statusCode = client.executeMethod(method);
            if (statusCode != HttpStatus.SC_OK) {
                System.err.println("Method failed: " + method.getStatusLine());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/publishing/javaLibrary/kotlin/src/main/java/org/gradle/HttpClientWrapper.java

            } finally {
                method.releaseConnection();
            }
            return null;
        }
    
        // GetMethod is used in a private method, so doesn't belong to the API
        private int doGet(GetMethod method) throws Exception {
            int statusCode = client.executeMethod(method);
            if (statusCode != HttpStatus.SC_OK) {
                System.err.println("Method failed: " + method.getStatusLine());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. testing/architecture-test/src/changes/archunit-store/public-api-methods-return-allowed-types.txt

    Method <org.gradle.api.DefaultTask.configure(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (DefaultTask.java:0)
    Method <org.gradle.api.DefaultTask.configure(groovy.lang.Closure)> has arguments/return type groovy.lang.Closure that is not Gradle public API or primitive or built-in JDK classes or Kotlin classes in (DefaultTask.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 12:21:31 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/public-api-mutable-file-collection.txt

    Method <org.gradle.api.plugins.quality.PmdExtension.getRuleSetFiles()> does not have raw return type assignable to org.gradle.api.file.ConfigurableFileCollection in (PmdExtension.java:0)
    Method <org.gradle.api.tasks.SourceSet.getAnnotationProcessorPath()> does not have raw return type assignable to org.gradle.api.file.ConfigurableFileCollection in (SourceSet.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. analysis/analysis-api/testData/components/compilerFacility/firPluginPrototypeMultiModule/compilerPluginUsage.txt

        // source: 'fragment.kt'
        enclosing method CodeFragment.run()V
        inner (local) class CodeFragment$run$Bar Bar
        inner (local) class CodeFragment$run$Foo Foo
        public method <init>(): void
    }
    
    public class CodeFragment$run$Foo {
        // source: 'fragment.kt'
        enclosing method CodeFragment.run()V
        inner (local) class CodeFragment$run$Foo Foo
        public method <init>(): void
        public method call(): void
    }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 16 19:18:28 UTC 2024
    - 707 bytes
    - Viewed (0)
  7. platforms/jvm/testing-jvm-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/testng/TestNGListenerAdapterFactory.java

                T listenerCast = listenerType.cast(listener);
                JavaMethod<T, R> javaMethod = JavaMethod.of(listenerType, returnType, method.getName(), method.getParameterTypes());
                return javaMethod.invoke(listenerCast, args);
            }
    
            private boolean proxyEquals(Object proxy, Object other) {
                if (other == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/GroovyMethods.java

                    Arrays.asList(GroovyObject.class.getMethods())
                ), new Function<Method, Equivalence.Wrapper<Method>>() {
                    @Override
                    public Equivalence.Wrapper<Method> apply(@Nullable Method input) {
                        return SIGNATURE_EQUIVALENCE.wrap(input);
                    }
                }
            )
        );
    
        /**
         * Is defined by Object or GroovyObject?
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. src/net/http/pattern.go

    		}
    	}()
    
    	method, rest, found := s, "", false
    	if i := strings.IndexAny(s, " \t"); i >= 0 {
    		method, rest, found = s[:i], strings.TrimLeft(s[i+1:], " \t"), true
    	}
    	if !found {
    		rest = method
    		method = ""
    	}
    	if method != "" && !validMethod(method) {
    		return nil, fmt.Errorf("invalid method %q", method)
    	}
    	p := &pattern{str: s, method: method}
    
    	if found {
    		off = len(method) + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 16:36:30 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  10. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/registry/BinaryTasksModelRuleExtractorTest.groovy

            when:
            extract(ruleMethod)
    
            then:
            def ex = thrown(InvalidModelRuleDeclarationException)
            ex.message == """Type ${fullyQualifiedNameOf(ruleClass)} is not a valid rule source:
    - Method ${ruleDescription} is not a valid rule method: A method annotated with @BinaryTasks must have void return type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 5.8K bytes
    - Viewed (0)
Back to top