[
https://issues.apache.org/jira/browse/CLOUDSTACK-4841?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daan Hoogland closed CLOUDSTACK-4841.
-------------------------------------
Resolution: Won't Fix
> ReflectUtil.getAllFieldsForClass(Class<?> cmdClass,Class<?>[] excludeClasses)
> could accept a Collection
> -------------------------------------------------------------------------------------------------------
>
> Key: CLOUDSTACK-4841
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-4841
> Project: CloudStack
> Issue Type: Improvement
> Reporter: Laszlo Hornyak
> Priority: Trivial
>
> public static Set<Field> getAllFieldsForClass(Class<?> cmdClass,
> Class<?>[] excludeClasses)
>
> could be just
> public static Set<Field> getAllFieldsForClass(Class<?> cmdClass,
> Collection<Class<?>>
> excludeClasses)
> So that the search logic could be elliminated from the code and client code
> could pass over unmodifiable collections rather than always creating an array.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)