removed redundant AND
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@166961 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
a82ec92870
commit
859935a3c9
|
@ -212,7 +212,7 @@ public class SecurityContext {
|
||||||
private synchronized OrientGraphFactory getFactory(PermissionMode permissionMode, boolean recreate) {
|
private synchronized OrientGraphFactory getFactory(PermissionMode permissionMode, boolean recreate) {
|
||||||
OrientGraphFactory factory = null;
|
OrientGraphFactory factory = null;
|
||||||
|
|
||||||
Boolean h = hierarchic && isHierarchicMode();
|
Boolean h = isHierarchicMode();
|
||||||
|
|
||||||
Map<PermissionMode,OrientGraphFactory> factories = factoryMap.get(h);
|
Map<PermissionMode,OrientGraphFactory> factories = factoryMap.get(h);
|
||||||
if(factories == null) {
|
if(factories == null) {
|
||||||
|
|
Loading…
Reference in New Issue