commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <>
Subject Re: [Sanselan] Lots of throws clauses that don't actually apply
Date Tue, 20 Dec 2011 17:25:04 GMT
+1 to cleaning it up.

Do you want to set the POM to Java 5 while you're in there? The code
does not compile on Java 1.4.

This would then be an opportunity to upgrade the plugins and add
FindBugs, Checkstyle, and PMD reports.


On Tue, Dec 20, 2011 at 12:16 PM, sebb <> wrote:
> There are lots of throws clauses on methods that don't actually throw them.
> These mainly relate to ImageReadException and ImageWriteException
> In the case of an abstract class, or a class that's designed for
> sub-classing, that may be OK, but the throws clauses should then be
> documented to avoid compiler warnings.
> Otherwise, the clauses should probably be removed - agreed?
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

E-Mail: |
JUnit in Action, 2nd Ed:
Spring Batch in Action:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message