Author: doogie
Date: Sat Jun 26 19:40:45 2010
New Revision: 958274
URL:
http://svn.apache.org/viewvc?rev=958274&view=revLog:
Convert Arrays.asList() to a normal, modifiable List.
Modified:
ofbiz/trunk/framework/base/src/org/ofbiz/base/test/GenericTestCaseBase.java
Modified: ofbiz/trunk/framework/base/src/org/ofbiz/base/test/GenericTestCaseBase.java
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/base/src/org/ofbiz/base/test/GenericTestCaseBase.java?rev=958274&r1=958273&r2=958274&view=diff==============================================================================
--- ofbiz/trunk/framework/base/src/org/ofbiz/base/test/GenericTestCaseBase.java (original)
+++ ofbiz/trunk/framework/base/src/org/ofbiz/base/test/GenericTestCaseBase.java Sat Jun 26 19:40:45 2010
@@ -303,7 +303,7 @@ OUTER:
}
public static <T> List<T> list(T... list) {
- return Arrays.asList(list);
+ return new ArrayList<T>(Arrays.asList(list));
}
public static <T> Set<T> set(T value) {