kev-inn commented on a change in pull request #946:
URL: https://github.com/apache/systemml/pull/946#discussion_r445399020



##########
File path: 
src/main/java/org/apache/sysds/runtime/controlprogram/federated/FederatedRequest.java
##########
@@ -74,4 +80,16 @@ public int getNumParams() {
        public FederatedRequest deepClone() {
                return new FederatedRequest(_method, new ArrayList<>(_data));
        }
+
+       public void setCheckPrivacy(boolean checkPrivacy){
+               this.checkPrivacy = checkPrivacy;
+       }
+
+       public void setCheckPrivacy(){
+               setCheckPrivacy(DMLScript.CHECK_PRIVACY);
+       }
+
+       public boolean checkPrivacy(){
+               return checkPrivacy;
+       }

Review comment:
       If you view it this way I agree that seems more readable :+1:




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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to