commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject cvs commit: jakarta-commons/lang DEVELOPERS-GUIDE.html
Date Wed, 07 Jul 2004 05:08:06 GMT
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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message