Skip to content

Commit 2547714

Browse files
committed
LP-170 refactor interceptor config
1 parent 2634709 commit 2547714

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/main/java/uk/gov/companieshouse/limitedpartnershipsapi/config/InterceptorConfig.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,6 @@ public InterceptorConfig(LoggingInterceptor loggingInterceptor) {
2323
*/
2424
@Override
2525
public void addInterceptors(@NonNull InterceptorRegistry registry) {
26-
addLoggingInterceptor(registry);
27-
}
28-
29-
/**
30-
* Interceptor that logs all calls to endpoints
31-
* @param registry The spring interceptor registry
32-
*/
33-
private void addLoggingInterceptor(InterceptorRegistry registry) {
3426
registry.addInterceptor(loggingInterceptor);
3527
}
3628
}

0 commit comments

Comments
 (0)