mcgilman commented on code in PR #10652:
URL: https://github.com/apache/nifi/pull/10652#discussion_r2624621849
##########
nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/StandardNiFiConnectorWebContext.java:
##########
@@ -28,13 +28,13 @@ public class StandardNiFiConnectorWebContext implements
NiFiConnectorWebContext
private ConnectorDAO connectorDAO;
@Override
- @SuppressWarnings("unchecked")
- public <T> T getConnector(final String connectorId) throws
IllegalArgumentException {
+ @SuppressWarnings({ "unchecked"})
Review Comment:
```suggestion
@SuppressWarnings("unchecked")
```
The braces are unnecessary for a single element and the spacing is
inconsistent.
--
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]