Fixed warnings

This commit is contained in:
Tuna Aksoy
2016-01-24 17:28:05 +00:00
parent 3100b867ad
commit 14d0cd6eea

View File

@@ -106,6 +106,7 @@ public final class RMCollectionUtils
* @param <T> the element type.
* @return a Serializable List containing all the provided elements.
*/
@SuppressWarnings("unchecked")
@SafeVarargs
public static <T extends Serializable, LIST extends Serializable & List<T>>
LIST asSerializableList(T... elements)