1. Marcin Grzejszczak
  2. Too Much Coding

Commits

Marcin Grzejszczak  committed 26b70bc Merge

Refactoring - changing variable names

  • Participants
  • Parent commits 20e203b, 88279ee
  • Branches default

Comments (0)

Files changed (1)

File AOP/src/main/pl/grzejszczak/marcin/aop/interceptor/SecurityInterceptor.java

View file
 		}
 
 		Annotation annotation = checkTheAnnotation(arguments);
-		boolean atrAccessSecurityAnnotationPresent = (annotation != null);
+		boolean securityAnnotationPresent = (annotation != null);
 
-		if (atrAccessSecurityAnnotationPresent) {
+		if (securityAnnotationPresent) {
 			boolean userHasRole = verifyRole(annotation);
 			if (!userHasRole) {
 				LOGGER.info("Current user doesn't have permission to have this component created");