erant10 commented on code in PR #251:
URL: https://github.com/apache/directory-scimple/pull/251#discussion_r1098056446


##########
scim-core/src/main/java/org/apache/directory/scim/core/repository/PatchHandlerImpl.java:
##########
@@ -171,6 +171,18 @@ private static void checkMutability(Attribute attribute, 
Object currentValue) th
     }
   }
 
+  private static void checkPrimary(String subAttributeName, 
Collection<Map<String, Object>> items, Object value)
+  {
+    if (subAttributeName.equals("primary") && value.equals(true)) {

Review Comment:
   @bdemers where would be a good place to declare `static final PRIMARY = 
"primary"`? 
   `Schema` maybe? 



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to