Am 23.12.19 um 15:54 schrieb Maruan Sahyoun:
I'd like to remove some of the static functions which work on/return a COSArray 
from COSArrayList and move these to COSArray.

For 2.x I'd deprecate them. In 3.0 I'd remove them.

Sample of currently used code

  public static COSArray convertStringListToCOSNameCOSArray( List<String> 
strings )
     {
         COSArray retval = new COSArray();
         for (String string : strings)
         {
             retval.add(COSName.getPDFName(string));
         }
         return retval;
     }

As one can see - there is no relation to COSArrayList

Method naming could propably also be simplified a bit such as 
COSArray.withCOSNames

WDYT?
We have to simplify as much as possible/reasonable. Saying that, I'm pro moving and renaming that methods

Andreas


BR
Maruan


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to