Drop unneeded generic type specifiers
[yangtools.git] / yang / yang-common / src / main / java / org / opendaylight / yangtools / yang / common / OperationFailedException.java
index 55974a3f87dda49ced9014273e1d763a79125390..e47f31529771bbbc4bdb9e271af80c21d37a8eef 100644 (file)
@@ -50,7 +50,7 @@ public class OperationFailedException extends Exception {
         super(Preconditions.checkNotNull(message), cause);
 
         if (errors != null && errors.length > 0) {
-            errorList = ImmutableList.<RpcError>copyOf( Arrays.asList( errors ) );
+            errorList = ImmutableList.copyOf( Arrays.asList( errors ) );
         } else {
             // Add a default RpcError.
             errorList = ImmutableList.of(RpcResultBuilder.newError(ErrorType.APPLICATION, null,