Re: [Geotools-devel] API deprecation cleanup

2019-03-11 Thread Nuno Oliveira
Ouch! On Sat, 2019-03-09 at 19:42 +0100, Andrea Aime wrote: > On Sat, Mar 9, 2019 at 5:24 PM Andrea Aime > .it> wrote: > > The moment I hit gt-main more than 100 warnings popped up and > > decided to stop for a bit > > > Found the argument to control the max number of warnings and got to > the re

Re: [Geotools-devel] API deprecation cleanup

2019-03-10 Thread Andrea Aime
Yes, I agree. The cleanup is what I'm trying to do :-D Mad? Possibly, but it's one of those things where one has to throw the heart beyond the obstacle, or it won't get done ever. Cheers Andrea Cheers Andrea Il dom 10 mar 2019, 15:44 Ian Turton ha scritto: > I agree with you. But until we do

Re: [Geotools-devel] API deprecation cleanup

2019-03-10 Thread Ian Turton
I agree with you. But until we do a clean up we can't switch on an automatic check. Ian On Sun, 10 Mar 2019, 12:38 Andrea Aime, wrote: > Hi Ian, > that's a way to go but won't get me all the way to the objective... which > is a build check. > I'm not interested in doing a "one off" cleanup that

Re: [Geotools-devel] API deprecation cleanup

2019-03-10 Thread Andrea Aime
Hi Ian, that's a way to go but won't get me all the way to the objective... which is a build check. I'm not interested in doing a "one off" cleanup that will have to be repeated in a couple of years, but setting a build check that will simply avoid this situation from happening again Cheers Andrea

Re: [Geotools-devel] API deprecation cleanup

2019-03-10 Thread Ian Turton
I'd vote for killing off anything that doesn't actually work and that has been deprecated for a while to start and then looking at doing a clean up "sprint" may be next bug stomp? Ian On Sat, 9 Mar 2019 at 19:22, Jody Garnett wrote: > In a word - yay :) > > And yeah it is tough with things like

Re: [Geotools-devel] API deprecation cleanup

2019-03-09 Thread Jody Garnett
In a word - yay :) And yeah it is tough with things like feature events being deprecated (we found they were not I implemented and therefore useless). I would like to remove API that is not used / usable. On Sat, Mar 9, 2019 at 8:24 AM Andrea Aime wrote: > Hi, > as discussed in the last PMC/PS

Re: [Geotools-devel] API deprecation cleanup

2019-03-09 Thread Andrea Aime
On Sat, Mar 9, 2019 at 5:24 PM Andrea Aime wrote: > The moment I hit gt-main more than 100 warnings popped up and decided to > stop for a bit > Found the argument to control the max number of warnings and got to the real number of deprecation warnings in gs-main/src/main (not tests): 399 Hly

[Geotools-devel] API deprecation cleanup

2019-03-09 Thread Andrea Aime
Hi, as discussed in the last PMC/PSC meeting I'm looking into using -Xlint to find and remove deprecated API usage. With the compiler options "-Xlint:deprecation -Werror" the compile fails if any deprecated API is used. I've setup to use the compiler flag along with errorProne, so that a normal com