Improved: Inline ‘UtilGenerics#checkStack(Object)’
(OFBIZ-11141) git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1863486 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -97,13 +97,9 @@ public final class UtilGenerics {
|
||||
return checkMap(object);
|
||||
}
|
||||
|
||||
public static <T> Stack<T> checkStack(Object object) {
|
||||
return cast(object);
|
||||
}
|
||||
|
||||
public static <T> Stack<T> checkStack(Object object, Class<T> type) {
|
||||
checkCollectionContainment(object, Stack.class, type);
|
||||
return checkStack(object);
|
||||
return cast(object);
|
||||
}
|
||||
|
||||
public static <T> Set<T> checkSet(Object object) {
|
||||
|
||||
Reference in New Issue
Block a user