Skip to content

Commit

Permalink
[#9889] adoServiceClasses is initilized in static
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasCir committed Oct 14, 2022
1 parent 039d096 commit 0bb9469
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ public class AuditLoggerInterceptor {
reflections = new Reflections(configurationBuilder);
}

private static final Set<Class<?>> adoServiceClasses = new HashSet<>(reflections.get(SubTypes.of(BaseAdoService.class).asClass()));
private static final Set<Class<?>> adoServiceClasses;

static {
adoServiceClasses = new HashSet<>(reflections.get(SubTypes.of(BaseAdoService.class).asClass()));
}

/**
* Cache to track all remote beans that should not be audited. True indicates ignore, false audit.
Expand Down

0 comments on commit 0bb9469

Please sign in to comment.