[SYNCOPE-666] Checkstyle fix...
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/fbfe9447 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/fbfe9447 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/fbfe9447 Branch: refs/heads/master Commit: fbfe9447f3396aefd28b1c36397dd121724d3d09 Parents: 64d475e Author: Francesco Chicchiriccò <[email protected]> Authored: Mon Jun 8 13:54:08 2015 +0200 Committer: Francesco Chicchiriccò <[email protected]> Committed: Mon Jun 8 13:54:08 2015 +0200 ---------------------------------------------------------------------- .../syncope/client/console/rest/UserRestClient.java | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/fbfe9447/client/console/src/main/java/org/apache/syncope/client/console/rest/UserRestClient.java ---------------------------------------------------------------------- diff --git a/client/console/src/main/java/org/apache/syncope/client/console/rest/UserRestClient.java b/client/console/src/main/java/org/apache/syncope/client/console/rest/UserRestClient.java index b2fb4e3..64daf50 100644 --- a/client/console/src/main/java/org/apache/syncope/client/console/rest/UserRestClient.java +++ b/client/console/src/main/java/org/apache/syncope/client/console/rest/UserRestClient.java @@ -162,8 +162,8 @@ public class UserRestClient extends AbstractAnyRestClient { UserService service = getService(etag, UserService.class); final ResourceAssociationMod associationMod = new ResourceAssociationMod(); - associationMod.getTargetResources().addAll(CollectionWrapper.wrap(StatusUtils.buildStatusMod(statuses).getResourceNames(), - ResourceKey.class)); + associationMod.getTargetResources().addAll( + CollectionWrapper.wrap(StatusUtils.buildStatusMod(statuses).getResourceNames(), ResourceKey.class)); service.bulkAssociation(userId, ResourceAssociationActionType.LINK, associationMod); resetClient(UserService.class); @@ -191,8 +191,9 @@ public class UserRestClient extends AbstractAnyRestClient { UserService service = getService(etag, UserService.class); final ResourceAssociationMod associationMod = new ResourceAssociationMod(); - associationMod.getTargetResources().addAll(CollectionWrapper.wrap(StatusUtils.buildStatusMod(statuses).getResourceNames(), - ResourceKey.class)); + associationMod.getTargetResources().addAll(CollectionWrapper.wrap(StatusUtils.buildStatusMod(statuses). + getResourceNames(), + ResourceKey.class)); associationMod.setChangePwd(changepwd); associationMod.setPassword(password); @@ -224,8 +225,9 @@ public class UserRestClient extends AbstractAnyRestClient { UserService service = getService(etag, UserService.class); final ResourceAssociationMod associationMod = new ResourceAssociationMod(); - associationMod.getTargetResources().addAll(CollectionWrapper.wrap(StatusUtils.buildStatusMod(statuses).getResourceNames(), - ResourceKey.class)); + associationMod.getTargetResources().addAll(CollectionWrapper.wrap(StatusUtils.buildStatusMod(statuses). + getResourceNames(), + ResourceKey.class)); associationMod.setChangePwd(changepwd); associationMod.setPassword(password);
