This is an automated email from the ASF dual-hosted git repository.

mmoayyed pushed a commit to branch 2_1_X
in repository https://gitbox.apache.org/repos/asf/syncope.git


The following commit(s) were added to refs/heads/2_1_X by this push:
     new da3343d  fix checkstyle violations with line length
da3343d is described below

commit da3343db3187e3083dde6ba76d352a9fdb5bbac6
Author: Misagh Moayyed <[email protected]>
AuthorDate: Fri Jan 31 12:33:38 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/console/src/main/java/org/apache/syncope/client/console/panels/UserDirectoryPanel.java
 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/UserDirectoryPanel.java
index 11092ef..7c437ea 100644
--- 
a/client/console/src/main/java/org/apache/syncope/client/console/panels/UserDirectoryPanel.java
+++ 
b/client/console/src/main/java/org/apache/syncope/client/console/panels/UserDirectoryPanel.java
@@ -364,10 +364,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 {
@@ -375,7 +377,8 @@ public class UserDirectoryPanel extends 
AnyDirectoryPanel<UserTO, UserRestClient
                                   UserPatch userPatch = 
AnyOperations.diff(updated, original, false);
                                   userPatch.setPassword(null);
                                   userPatch.setSecurityAnswer(null);
-                                  ProvisioningResult<UserTO> result = 
restClient.update(original.getETagValue(), userPatch);
+                                  ProvisioningResult<UserTO> result =
+                                      
restClient.update(original.getETagValue(), userPatch);
                                   
model.getObject().setLastChangeDate(result.getEntity().getLastChangeDate());
 
                                   
SyncopeConsoleSession.get().info(getString(Constants.OPERATION_SUCCEEDED));

Reply via email to