poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Avik Sengupta" <avik.sengu...@itellix.com>
Subject Re: Method duplication
Date Fri, 25 Jul 2003 17:23:46 GMT
My personal preference would be to deprecate it in 2.0 and remove it in 3.0



   -------Original Message-------
   > From: Laubach Shawn Contr OC-ALC/PSB <Shawn.Laubach@tinker.af.mil>
   > Subject: Method duplication
   > Sent: 25 Jul 2003 19:55:11
   >
   >  There is two sets of methods in HSSFSheet that do the same thing:
   >  
   >  1.  Set whether gridlines are printed:  setGridsPrinted and
   >  setPrintGridlines
   >  2.  Check whether gridlines are printed:  isGridsPrinted and
   >  isPrintGridlines
   >  
   >  The amount of code is a duplicate is 6 lines (in the way that it is
   >  indented) so it really is not much of an issue.  I'm just curious if we want
   >  to start cleaning this up at the head while it is just getting started.  I'm
   >  also curious which set of procedures is used more often.
   >  
   >  My preference is to get rid of the GridsPrinted methods and go with the
   >  others (there are now methods called setDisplayGridlines,
   >  isDisplayGridlines, and similar ones for formulas and row/column headings).
   >  I don't care whether we depricate one for now and remove it later, or say
   >  that it was duplicated and just remove it at the head.  I'm just trying to
   >  get a response to determine the best path.
   >  
   >  Shawn
   >  
   >  ---------------------------------------------------------------------
   >  To unsubscribe, e-mail: poi-dev-unsubscribe@jakarta.apache.org
   >  For additional commands, e-mail: poi-dev-help@jakarta.apache.org
   -------Original Message-------


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message