Skip to content

Commit

Permalink
Added class to interceptor hashmap keys
Browse files Browse the repository at this point in the history
  • Loading branch information
asahtik committed Nov 24, 2020
1 parent b983cb7 commit cebfbc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class BelezenjeKlicevInterceptor {
@AroundInvoke
public Object belezenjeKlicevInterceptor(InvocationContext context) throws Exception{

String methodName = context.getMethod().getName();
String methodName = context.getMethod().getDeclaringClass().getName() + "." + context.getMethod().getName();

if(belezka.get(methodName) == null){
belezka.put(methodName, 1);
Expand Down

0 comments on commit cebfbc8

Please sign in to comment.