Hi Benoit,

There is a back door...

Instead of...
    style.addFeatureTypeStyle(fts);

...which is deprecated, you can do this...
    ((List<FeatureTypeStyle>)style.featureTypeStyles()).add(fts);

...which is ugly, but not deprecated :-)

I've no idea whether that is 'bad practice' or not

Michael

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to