cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daan Hoogland (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CLOUDSTACK-4841) ReflectUtil.getAllFieldsForClass(Class<?> cmdClass,Class<?>[] excludeClasses) could accept a Collection
Date Wed, 08 Feb 2017 09:23:58 GMT

     [ 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)

Mime
View raw message