Skip to content

Commit

Permalink
Address PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
Stephan202 committed Nov 28, 2024
1 parent c3e519a commit 6f7d079
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions reactor-core/src/main/java/reactor/core/publisher/Traces.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ final class Traces {
static boolean shouldSanitize(String stackTraceRow) {
return stackTraceRow.startsWith("java.util.function")
|| stackTraceRow.startsWith("reactor.core.publisher.Mono.onAssembly")
|| stackTraceRow.equals("reactor.core.publisher.Flux.onAssembly")
|| stackTraceRow.equals("reactor.core.publisher.ParallelFlux.onAssembly")
|| stackTraceRow.startsWith("reactor.core.publisher.Flux.onAssembly")
|| stackTraceRow.startsWith("reactor.core.publisher.ParallelFlux.onAssembly")
|| stackTraceRow.startsWith("reactor.core.publisher.SignalLogger")
|| stackTraceRow.startsWith("reactor.core.publisher.FluxOnAssembly")
|| stackTraceRow.startsWith("reactor.core.publisher.MonoOnAssembly.")
Expand Down Expand Up @@ -197,10 +197,6 @@ public String next() {

@Nullable
private String getNextLine() {
if (index >= source.length()) {
return null;
}

while (index < source.length()) {
int end = source.indexOf('\n', index);
if (end == -1) {
Expand Down

0 comments on commit 6f7d079

Please sign in to comment.