poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <apa...@gagravarr.org>
Subject Re: Finding deprecated methods
Date Wed, 15 Jun 2016 08:42:47 GMT
On Tue, 14 Jun 2016, Javen O'Neal wrote:
> Is there a smarter way to find deprecated classes besides checking out 
> the code from 2 final releases ago and removing any deprecated code that 
> still exists in trunk@HEAD?

I'd probably attempt it with:
* grep trunk for @deprecated with no date, with a -A 4 or similar, then
   grab the method name from that
* grab a list of old versions from "svn ls ^/poi/tags/"
* use "svn switch ^/poi/tags/xxxx/" to quickly walk your tree back through
   older versions
* do the same greps, and spot where they vanish

If that all sounds a bit hairy, let me know and I can try it later in the 
week!

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message