markap14 commented on a change in pull request #5532:
URL: https://github.com/apache/nifi/pull/5532#discussion_r751861798



##########
File path: 
nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/ExecuteStateless.java
##########
@@ -850,6 +862,8 @@ private StatelessEngineConfiguration 
createEngineConfiguration(final ProcessCont
             contentRepoDirectory = null;
         }
 
+        final String statusTaskSchedule = 
context.getProperty(STATUS_TASK_SCHEDULE).isSet() ? 
context.getProperty(STATUS_TASK_SCHEDULE).getValue() : null;

Review comment:
       Can just use `final String statusTaskSchedule = 
context.getProperty(STATUS_TASK_SCHEDULE).getValue()` no? If not set, will be 
`null`




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