Github user ijokarumawak commented on the issue:

    https://github.com/apache/nifi/pull/1306
  
    @mcgilman I considered following code once, but it can not clear batchCount 
to null, because batchCount is an Integer (not String):
    
    ```java
    if (isNotNull(batchCount)) {
      port.setBatchCount(batchCount);
    }
    ```
    
    Blank string can tell user want to clear string field, but numeric ones can 
not:
    
    ```json
    {"batchCount": null, "batchSize": ""}
    ```
    
    and 
    
    ```json
    {"batchSize": ""}
    ```
    
    are identical when those are converted into DTO layer. Is this 
understanding wrong?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to