mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Polishing
This commit is contained in:
+1
-4
@@ -62,9 +62,6 @@ public class ServerHttpObservationFilter implements WebFilter {
|
||||
|
||||
private static final ServerRequestObservationConvention DEFAULT_OBSERVATION_CONVENTION = new DefaultServerRequestObservationConvention();
|
||||
|
||||
private static final Set<String> DISCONNECTED_CLIENT_EXCEPTIONS = Set.of("AbortedException",
|
||||
"ClientAbortException", "EOFException", "EofException");
|
||||
|
||||
private final ObservationRegistry observationRegistry;
|
||||
|
||||
private final ServerRequestObservationConvention observationConvention;
|
||||
@@ -116,7 +113,7 @@ public class ServerHttpObservationFilter implements WebFilter {
|
||||
|
||||
private final Observation observation;
|
||||
|
||||
private AtomicBoolean observationRecorded = new AtomicBoolean();
|
||||
private final AtomicBoolean observationRecorded = new AtomicBoolean();
|
||||
|
||||
public ObservationSignalListener(ServerRequestObservationContext observationContext) {
|
||||
this.observationContext = observationContext;
|
||||
|
||||
+1
-1
@@ -389,7 +389,7 @@ public class HttpWebHandlerAdapter extends WebHandlerDecorator implements HttpHa
|
||||
|
||||
private final Observation observation;
|
||||
|
||||
private AtomicBoolean observationRecorded = new AtomicBoolean();
|
||||
private final AtomicBoolean observationRecorded = new AtomicBoolean();
|
||||
|
||||
public ObservationSignalListener(ServerRequestObservationContext observationContext) {
|
||||
this.observationContext = observationContext;
|
||||
|
||||
Reference in New Issue
Block a user