Baunsgaard commented on a change in pull request #1051:
URL: https://github.com/apache/systemds/pull/1051#discussion_r486393950



##########
File path: src/main/java/org/apache/sysds/parser/DataExpression.java
##########
@@ -2239,9 +2251,44 @@ public boolean isRead()
         * Sets privacy of identifier if privacy variable parameter is set.  
         */
        private void setPrivacy(){
-               Expression eprivacy = getVarParam("privacy");
-               if ( eprivacy != null ){
-                       
getOutput().setPrivacy(PrivacyLevel.valueOf(eprivacy.toString()));
+               Expression eprivacy = getVarParam(PRIVACY);

Review comment:
       i only ask because when i was going through all the code, this stood 
out, and was ...  to complicated to review.




----------------------------------------------------------------
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:
[email protected]


Reply via email to