[Minor] code formatting
This commit is contained in:
parent
d31e9ffc6d
commit
a6b320268f
|
@ -131,7 +131,7 @@ public class ComponentContainerImpl implements ComponentContainer {
|
|||
StrolchConstants.PROP_REALM, realmName), e);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void setupComponent(Map<Class<?>, StrolchComponent> componentMap,
|
||||
Map<String, ComponentController> controllerMap, ComponentConfiguration componentConfiguration) {
|
||||
|
||||
|
|
|
@ -83,8 +83,7 @@ public class EmptyRealm extends InternalStrolchRealm {
|
|||
this.resourceMap = new TransactionalResourceMap();
|
||||
this.orderMap = new TransactionalOrderMap();
|
||||
|
||||
String enableAuditKey = StrolchConstants.makeRealmKey(getRealm(),
|
||||
DefaultRealmHandler.PROP_ENABLE_AUDIT_TRAIL);
|
||||
String enableAuditKey = StrolchConstants.makeRealmKey(getRealm(), DefaultRealmHandler.PROP_ENABLE_AUDIT_TRAIL);
|
||||
if (configuration.getBoolean(enableAuditKey, Boolean.FALSE)) {
|
||||
this.auditTrail = new TransactionalAuditTrail();
|
||||
logger.info("Enabling AuditTrail for realm " + getRealm()); //$NON-NLS-1$
|
||||
|
|
|
@ -47,7 +47,7 @@ public interface PrivilegeHandler {
|
|||
* @see ch.eitchnet.privilege.handler.PrivilegeHandler#invalidateSession(ch.eitchnet.privilege.model.Certificate)
|
||||
*/
|
||||
public abstract boolean invalidateSession(Certificate certificate);
|
||||
|
||||
|
||||
/**
|
||||
* @param certificate
|
||||
* @return
|
||||
|
|
|
@ -44,7 +44,7 @@ public class InMemoryAuditQueryVisitor implements AuditQueryVisitor {
|
|||
String msg = "Query is missing a navigation!"; //$NON-NLS-1$
|
||||
throw new QueryException(msg);
|
||||
}
|
||||
|
||||
|
||||
long limit = auditQuery.getLimit();
|
||||
|
||||
return new InMemoryAuditQuery<U>(this.navigator, limit, this.selectors, auditVisitor);
|
||||
|
|
Loading…
Reference in New Issue