You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by mm...@apache.org on 2020/01/31 08:19:49 UTC
[syncope] 02/02: fix checkstyle violations with line length
This is an automated email from the ASF dual-hosted git repository.
mmoayyed pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
commit 673ae65413afc764b2457a839619d88bbeb0a36b
Author: Misagh Moayyed <mm...@gmail.com>
AuthorDate: Fri Jan 31 12:19:28 2020 +0400
fix checkstyle violations with line length
---
.../syncope/client/console/panels/UserDirectoryPanel.java | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/UserDirectoryPanel.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/UserDirectoryPanel.java
index 00c35e0..41ee5d6 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/UserDirectoryPanel.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/panels/UserDirectoryPanel.java
@@ -277,10 +277,12 @@ public class UserDirectoryPanel extends AnyDirectoryPanel<UserTO, UserRestClient
@Override
protected void restore(final String json, final AjaxRequestTarget target) {
// The original audit record masks the password and the security
- // answer; so we cannot use the audit record to resurrect the entry based on mask data.
+ // answer; so we cannot use the audit record to resurrect the entry
+ // based on mask data.
//
- // The method behavior below will reset the audit record such that the current security
- // answer and the password for the object are always maintained, and such properties for the
+ // The method behavior below will reset the audit record such
+ // that the current security answer and the password for the object
+ // are always maintained, and such properties for the
// user cannot be restored using audit records.
UserTO original = model.getObject();
try {
@@ -288,7 +290,8 @@ public class UserDirectoryPanel extends AnyDirectoryPanel<UserTO, UserRestClient
UserUR updateReq = AnyOperations.diff(updated, original, false);
updateReq.setPassword(null);
updateReq.setSecurityAnswer(null);
- ProvisioningResult<UserTO> result = restClient.update(original.getETagValue(), updateReq);
+ ProvisioningResult<UserTO> result =
+ restClient.update(original.getETagValue(), updateReq);
model.getObject().setLastChangeDate(result.getEntity().getLastChangeDate());
SyncopeConsoleSession.get().info(getString(Constants.OPERATION_SUCCEEDED));