From a7443932403bcc9b99aa9f470af378cd05f538b8 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Tue, 16 Aug 2016 19:02:19 +0200 Subject: [PATCH] code formatting --- .../src/main/java/de/hsadmin/login/LoginService.java | 2 +- .../src/main/java/de/hsadmin/module/impl/AbstractModule.java | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/authorization/src/main/java/de/hsadmin/login/LoginService.java b/authorization/src/main/java/de/hsadmin/login/LoginService.java index bca4c1b..785855d 100644 --- a/authorization/src/main/java/de/hsadmin/login/LoginService.java +++ b/authorization/src/main/java/de/hsadmin/login/LoginService.java @@ -27,7 +27,7 @@ public class LoginService implements LoginServiceLocal { } else { checkRunAsAllowed(ticketUser, runAs); } - Role scope = findRunAsRole(runAs); + final Role scope = findRunAsRole(runAs); return new RequestContext(runAsUser, scope); } throw new UserException(new UserError(UserError.MSG_INVALID_TICKET, ticket)); diff --git a/framework/src/main/java/de/hsadmin/module/impl/AbstractModule.java b/framework/src/main/java/de/hsadmin/module/impl/AbstractModule.java index 2bd2af4..b234c6e 100644 --- a/framework/src/main/java/de/hsadmin/module/impl/AbstractModule.java +++ b/framework/src/main/java/de/hsadmin/module/impl/AbstractModule.java @@ -58,8 +58,9 @@ public abstract class AbstractModule implements Module property = criteria.get(scopeAttribute);