bayard 2004/07/06 22:08:06 Modified: lang DEVELOPERS-GUIDE.html Log: added the view that we should not use boolean arguments to overload methods of similar signature Revision Changes Path 1.8 +2 -1 jakarta-commons/lang/DEVELOPERS-GUIDE.html Index: DEVELOPERS-GUIDE.html =================================================================== RCS file: /home/cvs/jakarta-commons/lang/DEVELOPERS-GUIDE.html,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- DEVELOPERS-GUIDE.html 18 Feb 2004 23:13:37 -0000 1.7 +++ DEVELOPERS-GUIDE.html 7 Jul 2004 05:08:05 -0000 1.8 @@ -84,6 +84,7 @@ naming of such a subpackage should be discussed and agreed upon on the developers mailing list.</p> +<p>If different overloaded variants of a method are desired, with the same method signature, it should not be indicated via a boolean argument, but via a more focused method name. Rather than replace(boolean repeat), replace and replaceAll, or replaceOnce and replace. </p> <a name="Javadoc"></a>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]