exceptionfactory commented on code in PR #4:
URL: https://github.com/apache/nifi-api/pull/4#discussion_r1999796812


##########
src/main/java/org/apache/nifi/documentation/xml/XmlDocumentationWriter.java:
##########
@@ -108,12 +108,12 @@ protected void writeDeprecationNotice(final 
DeprecationNotice deprecationNotice)
             return;
         }
 
-        final Class[] classes = deprecationNotice.alternatives();
+        final Class<?>[] classes = deprecationNotice.alternatives();
         final String[] classNames = deprecationNotice.classNames();
 
         final Set<String> alternatives = new LinkedHashSet<>();
         if (classes != null) {

Review Comment:
   Thanks for highlighting that fact, it looks like the default value cannot be 
set as null, so this check can be removed.



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