Skip to content
Snippets Groups Projects
Commit 38593e6f authored by izabel's avatar izabel
Browse files

[LMS-457] list-projects - group option

SVN: 6903
parent 5b70bd92
No related merge requests found
...@@ -369,7 +369,7 @@ public final class BeanUtils ...@@ -369,7 +369,7 @@ public final class BeanUtils
try try
{ {
T destinationBean = T destinationBean =
(beanInstance != null) ? beanInstance : instantiateBean(beanClass, sourceBean, beanInstance != null ? beanInstance : instantiateBean(beanClass, sourceBean,
setterAnnotations); setterAnnotations);
if (isArray(destinationBean)) if (isArray(destinationBean))
{ {
...@@ -936,7 +936,7 @@ public final class BeanUtils ...@@ -936,7 +936,7 @@ public final class BeanUtils
final List<PropertyDescriptor> descriptors = final List<PropertyDescriptor> descriptors =
new ArrayList<PropertyDescriptor>(Arrays.asList(Introspector.getBeanInfo(clazz) new ArrayList<PropertyDescriptor>(Arrays.asList(Introspector.getBeanInfo(clazz)
.getPropertyDescriptors())); .getPropertyDescriptors()));
for (final Iterator<PropertyDescriptor> iter = descriptors.iterator(); iter.hasNext();) for (final Iterator<PropertyDescriptor> iter = descriptors.iterator(); iter.hasNext(); /**/)
{ {
final PropertyDescriptor descriptor = iter.next(); final PropertyDescriptor descriptor = iter.next();
// If no write method, remove it. For instance 'class' property does not have any // If no write method, remove it. For instance 'class' property does not have any
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment