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