From: Simone G. <sim...@gm...> - 2008-06-12 18:38:19
|
On Thu, Jun 12, 2008 at 8:06 PM, Adrian Custer <ac...@gm...> wrote: > Hey Simone, > > With an improved cleanup script, I stumbled upon: > modules/library/coverage/.../image/palette/CustomPaletteBuilder.java > which starts with a Sun Microsystems copyright. You did the right thing > to include the header so as to document where you got the code. > Unfortunately, we can't distribute that class in an LGPL project---it > violates one of the principles of free software, that of > non-discrimination against any field of endeavour. I believe you... > > Why are you grabbing code from Sun rather than writing it yourself? If > there is some really difficult issue you couldn't figure out, I'm sure > the other coders in the geotools crowd can put their heads together and > find a replacement. I am still trying to understand if you are really like that or if you are very bad at making jokes. I won't cut my wrists while deciding which one of the two options applies to you, hence I will give you the answer you seek. The code you are looking at, which I assume is related to palette building, is an improved version of the SUN code, which was buggy and not working on RenderedImage since it was designed for BufferedImage only. I should probably send this code back to the imageio guys but it would anyway take ages before we could use it in a stable release, hence I decided to include it right inside geotools. Truth is, that the code has changed so much from the initial version that I wonder if we still have to retain SUN's copyright, dunno. If this piece of code does not let you sleep at night, you can freely remove it from the codebase (we might want to check if anyone else is using it) Thanks for your patience and understanding; I really appreciate your hard work on these issues (for real), but above all I really appreciate your humor and kindness (well, this is a joke)! Simone. > > Anyhow, we have to fix this and any other files where you may have done > the same. > > --adrian > > -- ------------------------------------------------------- Eng. Simone Giannecchini President /CEO GeoSolutions S.A.S. Via Carignoni 51 55041 Camaiore (LU) Italy phone: +39 0584983027 fax: +39 0584983027 mob: +39 333 8128928 http://www.geo-solutions.it ------------------------------------------------------- |