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



##########
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:
       Is it easier to read in the current version, @Baunsgaard ?




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