Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 210 for Advice (0.13 sec)

  1. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/DeprecationMessagesTest.groovy

            when:
            DeprecationLogger.deprecate("Something").withAdvice("Advice.").withContext("Contextual advice.").willBeRemovedInGradle9().undocumented().nagUser()
    
            then:
            expectMessage "Something has been deprecated. This is scheduled to be removed in Gradle ${NEXT_GRADLE_VERSION}. Contextual advice. Advice."
        }
    
        def "logs deprecated build invocation message"() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationMessageBuilder.java

        public T withContext(String context) {
            this.context = context;
            return (T) this;
        }
    
        @SuppressWarnings("unchecked")
        public T withAdvice(String advice) {
            this.advice = advice;
            return (T) this;
        }
    
        @SuppressWarnings("unchecked")
        public T withProblemIdDisplayName(String problemIdDisplayName) {
            this.problemIdDisplayName = problemIdDisplayName;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java

     * <p>
     * The deprecateX methods in this class return a builder that guides creation of the deprecation message.
     * Summary is populated by the deprecateX methods in this class.
     * Context can be added in free text using {@link DeprecationMessageBuilder#withContext(String)}.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/LoggingDeprecatedFeatureHandler.java

            }
            return createDefaultDeprecationId(usage.getProblemIdDisplayName());
        }
    
        private static void addSolution(@Nullable String advice, InternalProblemSpec problemSpec) {
            if (advice != null) {
                problemSpec.solution(advice);
            }
        }
    
        private static void addPossibleLocation(ProblemDiagnostics diagnostics, InternalProblemSpec deprecationProblemBuilder) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ProblemsProgressEventConsumer.java

            return details == null ? null : new DefaultDetails(details);
        }
    
        private static InternalSeverity toInternalSeverity(Severity severity) {
            switch (severity) {
                case ADVICE:
                    return ADVICE;
                case WARNING:
                    return WARNING;
                case ERROR:
                    return ERROR;
                default:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12K bytes
    - Viewed (0)
  6. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/problems/ConfigurationCacheProblems.kt

        fun PropertyTrace.buildLogic() = sequence.filterIsInstance<PropertyTrace.BuildLogic>().firstOrNull()
    
        private
        fun ProblemSeverity.toProblemSeverity() = when {
            this == ProblemSeverity.Suppressed -> Severity.ADVICE
            isFailOnProblems -> Severity.ERROR
            else -> Severity.WARNING
        }
    
        override fun getId(): String {
            return "configuration-cache"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 13:04:02 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/DiagnosticToProblemListener.java

                case WARNING:
                case MANDATORY_WARNING:
                    return Severity.WARNING;
                case NOTE:
                case OTHER:
                default:
                    return Severity.ADVICE;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 06:17:43 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  8. JavadocStyleGuide.md

    | 10 | `@implNote`   | Adds a “Implementation Note” heading                                           | This section contains informative notes about the implementation, such as advice to implementors, or performance characteristics that are specific to the implementation in this class of this version of the JDK  |
    
    ## 1.2 The summary fragment
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jun 06 15:43:07 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Tables.java

       *   Iterator<Entry<C, V>> i = row.entrySet().iterator(); // Must be in synchronized block
       *   while (i.hasNext()) {
       *     foo(i.next());
       *   }
       * }
       * }</pre>
       *
       * <p>Failure to follow this advice may result in non-deterministic behavior.
       *
       * <p>The returned table will be serializable if the specified table is serializable.
       *
       * @param table the table to be wrapped in a synchronized view
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

     * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
     * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting
     * collection will not correctly obey its specification.
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top