Author: mdisabatino
Date: Mon Sep 8 09:09:23 2014
New Revision: 1623343
URL: http://svn.apache.org/r1623343
Log:
[SYNCOPE-543]
Modified:
syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/rest/data/RoleDataBinder.java
Modified:
syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/rest/data/RoleDataBinder.java
URL:
http://svn.apache.org/viewvc/syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/rest/data/RoleDataBinder.java?rev=1623343&r1=1623342&r2=1623343&view=diff
==============================================================================
---
syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/rest/data/RoleDataBinder.java
(original)
+++
syncope/branches/1_1_X/core/src/main/java/org/apache/syncope/core/rest/data/RoleDataBinder.java
Mon Sep 8 09:09:23 2014
@@ -315,13 +315,10 @@ public class RoleDataBinder extends Abst
// Retrieve all [derived/virtual] attributes (inherited and not)
// -------------------------
final List<RAttr> allAttributes =
role.findLastInheritedAncestorAttributes();
- //allAttributes.addAll((List<RAttr>) role.getAttributes());
final List<RDerAttr> allDerAttributes =
role.findLastInheritedAncestorDerivedAttributes();
- //allDerAttributes.addAll((List<RDerAttr>)
role.getDerivedAttributes());
final List<RVirAttr> allVirAttributes =
role.findLastInheritedAncestorVirtualAttributes();
- //allVirAttributes.addAll((List<RVirAttr>)
role.getVirtualAttributes());
// -------------------------
fillTO(roleTO, allAttributes, allDerAttributes, allVirAttributes,
role.getResources());