exceptionfactory commented on PR #8248:
URL: https://github.com/apache/nifi/pull/8248#issuecomment-1894206758

   > @exceptionfactory I took a quick "high level" peek at this. There are lot 
of changed files, but I searched for any which might have been missed 
inadvertently. I found instances of SimpleDateFormat usage in the following:
   > 
   > ```
   > 
./nifi-nar-bundles/nifi-mongodb-bundle/nifi-mongodb-processors/src/main/java/org/apache/nifi/processors/mongodb/AbstractMongoProcessor.java
   > 
./nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ParseCEF.java
   > ```
   
   Thanks for pointing out those specific examples @markobean.
   
   Those are the two remaining direct references to `SimpleDateFormat` because 
both components make direct use of the Jackson `ObjectMapper`, which requires 
an instance of `DateFormat` to drive formatting. Unfortunately those references 
cannot be changed. The key changes from a NiFi usage perspective are in 
`nifi-record` and `nifi-record-path`, where first-class use of 
`SimpleDateFormat` has been changed. There are many other changes in test 
classes, and the primary motivation for those changes was to provide better 
baseline examples for future development.


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