- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for StackTraceSanitizer (0.15 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/StackTraceSanitizer.java
import org.gradle.problems.buildtree.ProblemStream; import java.util.ArrayList; import java.util.List; class StackTraceSanitizer implements ProblemStream.StackTraceTransformer { private final Class<?> calledFrom; public StackTraceSanitizer(Class<?> calledFrom) { this.calledFrom = calledFrom; } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.4K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/featurelifecycle/StackTraceSanitizerTest.groovy
import static SimulatedSingleMessageLogger.INDIRECT_CALL_2 @Subject(StackTraceSanitizer) class StackTraceSanitizerTest extends Specification { def "stack is evaluated correctly for #callLocationClass.simpleName and #expectedSummary. #expectedMethod. #usage."() { given: def stack = new StackTraceSanitizer(usage.calledFrom).transform(usage.exception.stackTrace) expect: !stack.empty
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:05:18 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/featurelifecycle/LoggingDeprecatedFeatureHandler.java
} @Override public void featureUsed(final DeprecatedFeatureUsage usage) { deprecationsFound = true; final ProblemDiagnostics diagnostics = problemStream.forCurrentCaller(new StackTraceSanitizer(usage.getCalledFrom())); if (warningMode.shouldDisplayMessages()) { maybeLogUsage(usage, diagnostics); } if (warningMode == WarningMode.Fail) { if (error == null) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 13:09:37 UTC 2024 - 12.4K bytes - Viewed (0)