cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benson Margulies <>
Subject 7 parameter limit
Date Thu, 20 Dec 2007 22:41:40 GMT
Our PMD/checkstyle limit on the number of parameters is making me

The process is as follows:

1) discover that a function is getting too long for the limit on the
number of lines.

2) try to refactor.

3) discover that I've really got more than 7 bits of information that
are in flight.

4) curse, and then make an extra class (it's like a SOAP wrapper class)
just to carry this stuff.

If anyone would care to look over my virtual shoulder and tell me how to
structure this code better, I'm game.

View raw message