https://bz.apache.org/bugzilla/show_bug.cgi?id=61942

            Bug ID: 61942
           Summary: Refactor PackagePartName handling and add
                    findUnusedPartName method
           Product: POI
           Version: 4.0-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: OPC
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

While working on the ObjectData interface for SL Common, I wanted to have a
central method to request a new resource, i.e. a new file name with a unique
index - this lead to the new method OPCPackage.getUnusedPartIndex(...)

As I had to work with PackagePartNames, I've realized that the current
implementation carries around the errorFlag a lot instead of an appropriate
control flow - so I also eliminated that.

And in PackagePartCollection its better to use a sorted TreeMap.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to