Dear all,
I'm writing to get your feedbacks about a  piece of code that is causing
performance degradation expecially when serving complex features.
The problematic line of code is this one
<https://github.com/geotools/geotools/blob/f66689b5305eaf381e21dc2feec8011138d4cb24/modules/library/main/src/main/java/org/geotools/feature/ComplexAttributeImpl.java#L144>
used
to create a collection via reflection to do a shallow copy of the
properties of the ComplexAttributeImpl.
The context of usage seems to suggest that there is no request to maintain
the characteristics of the original collection, but the content only.
Does anyone foresees any problem that might occur in modifying that code to
simply use *new ArrayList()* ?

Best regards,
Marco Volpini
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to