- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 210 for Advice (0.13 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
guava/src/com/google/common/collect/ImmutableSortedMultiset.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 29.5K bytes - Viewed (0)