[Bug 61942] New: Refactor PackagePartName handling and add findUnusedPartName method

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 61942] New: Refactor PackagePartName handling and add findUnusedPartName method

Bugzilla from bugzilla@apache.org
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: [hidden email]
          Reporter: [hidden email]
  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: [hidden email]
For additional commands, e-mail: [hidden email]

Reply | Threaded
Open this post in threaded view
|

[Bug 61942] Refactor PackagePartName handling and add getUnusedPartIndex method

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

Andreas Beeker <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Refactor PackagePartName    |Refactor PackagePartName
                   |handling and add            |handling and add
                   |findUnusedPartName method   |getUnusedPartIndex method

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

Reply | Threaded
Open this post in threaded view
|

[Bug 61942] Refactor PackagePartName handling and add getUnusedPartIndex method

Bugzilla from bugzilla@apache.org
In reply to this post by Bugzilla from bugzilla@apache.org
https://bz.apache.org/bugzilla/show_bug.cgi?id=61942

Andreas Beeker <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Andreas Beeker <[hidden email]> ---
applied via r1819708

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