From 9199daef8cbc17d8a1eac4e1336cdeb34ec8cb82 Mon Sep 17 00:00:00 2001 From: "ajay.jalgaonkar" Date: Mon, 24 Jun 2024 16:41:15 +0530 Subject: [PATCH] added getinstance --- .../com/flipkart/grpc/jexpress/filter/CreateLoggingFilter.java | 2 +- .../com/flipkart/grpc/jexpress/filter/GetLoggingFilter.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/grpc-jexpress-template/src/main/java/com/flipkart/grpc/jexpress/filter/CreateLoggingFilter.java b/grpc-jexpress-template/src/main/java/com/flipkart/grpc/jexpress/filter/CreateLoggingFilter.java index 74f067dd..4fc306cc 100644 --- a/grpc-jexpress-template/src/main/java/com/flipkart/grpc/jexpress/filter/CreateLoggingFilter.java +++ b/grpc-jexpress-template/src/main/java/com/flipkart/grpc/jexpress/filter/CreateLoggingFilter.java @@ -30,7 +30,7 @@ public class CreateLoggingFilter implements Filter getNewInstance(){ - return new CreateLoggingFilter<>(); + return new CreateLoggingFilter(); } @Override diff --git a/grpc-jexpress-template/src/main/java/com/flipkart/grpc/jexpress/filter/GetLoggingFilter.java b/grpc-jexpress-template/src/main/java/com/flipkart/grpc/jexpress/filter/GetLoggingFilter.java index 34844247..f76677e8 100644 --- a/grpc-jexpress-template/src/main/java/com/flipkart/grpc/jexpress/filter/GetLoggingFilter.java +++ b/grpc-jexpress-template/src/main/java/com/flipkart/grpc/jexpress/filter/GetLoggingFilter.java @@ -28,7 +28,7 @@ public class GetLoggingFilter implements Filter, Loggin @Override public Filter getNewInstance(){ - return new GetLoggingFilter<>(); + return new GetLoggingFilter(); } @Override