ilgrosso commented on code in PR #1170:
URL: https://github.com/apache/syncope/pull/1170#discussion_r2324248625


##########
common/am/lib/src/main/java/org/apache/syncope/common/lib/to/PasswordManagementTO.java:
##########
@@ -0,0 +1,86 @@
+package org.apache.syncope.common.lib.to;
+
+import jakarta.ws.rs.PathParam;
+import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.lang3.builder.EqualsBuilder;
+import org.apache.commons.lang3.builder.HashCodeBuilder;
+import org.apache.syncope.common.lib.password.PasswordManagementConf;
+
+public class PasswordManagementTO implements EntityTO {
+
+    private static final long serialVersionUID = -7203295929825782174L;
+
+    private String key;
+
+    private String description;
+
+    private String enabled = Boolean.FALSE.toString();

Review Comment:
   Why?
   
   just use
   
   ```
   private boolean enabled
   ```
   
   and javabean methods `isEnabled()` / `setEnabled()`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to