Skip to content

Commit d963075

Browse files
authored
typo
1 parent 6f19b77 commit d963075

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The annotation on java config factory method is also supported :
9898
@Bean
9999
@GRpcGlobalInterceptor
100100
public ServerInterceptor globalInterceptor(){
101-
new ServerInterceptor(){
101+
return new ServerInterceptor(){
102102
@Override
103103
public <ReqT, RespT> ServerCall.Listener<ReqT> interceptCall(ServerCall<ReqT, RespT> call, Metadata headers, ServerCallHandler<ReqT, RespT> next) {
104104
// your logic here

0 commit comments

Comments
 (0)