sebthom opened a new pull request #2960: NO-JIRA Fix compiler warning in 
FederationStreamConnectMessage
URL: https://github.com/apache/activemq-artemis/pull/2960
 
 
   This fixes the following compiler warning that is reported in Travis builds:
   
   ```java
   
/home/travis/build/apache/activemq-artemis/artemis-core-client/src/main/java/org/apache/activemq/artemis/core/protocol/core/impl/wireformat/FederationStreamConnectMessage.java:151:
 warning: non-varargs call of varargs method with inexact argument type for 
last parameter;
   
            return (FederationPolicy) 
Class.forName(clazz).getConstructor(null).newInstance();
   
     cast to Class<?> for a varargs call
     cast to Class<?>[] for a non-varargs call and to suppress this warning
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to