[SYNCOPE-1333] fix build

Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/2d233d19
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/2d233d19
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/2d233d19

Branch: refs/heads/master
Commit: 2d233d197ce9e5bac10b2c0f422221c6c36ed343
Parents: 3a0afb4
Author: Francesco Chicchiriccò <[email protected]>
Authored: Tue Jul 10 11:00:25 2018 +0200
Committer: Francesco Chicchiriccò <[email protected]>
Committed: Tue Jul 10 11:00:36 2018 +0200

----------------------------------------------------------------------
 .../org/apache/syncope/client/console/wizards/any/VirAttrs.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/2d233d19/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
----------------------------------------------------------------------
diff --git 
a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
index 79d58da..042e61e 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/wizards/any/VirAttrs.java
@@ -147,7 +147,7 @@ public class VirAttrs extends AbstractAttrs<VirSchemaTO> {
         List<AttrTO> attrs = new ArrayList<>();
 
         Map<String, AttrTO> attrMap = EntityTOUtils.buildAttrMap(
-                
GroupableRelatableTO.class.cast(anyTO).getMembership(membershipTO.getGroupKey()).getVirAttrs());
+                
GroupableRelatableTO.class.cast(anyTO).getMembership(membershipTO.getGroupKey()).get().getVirAttrs());
 
         
attrs.addAll(membershipSchemas.get(membershipTO.getGroupKey()).values().stream().map(schema
 -> {
             AttrTO attrTO = new AttrTO();

Reply via email to