You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2020/04/01 23:19:40 UTC

[Bug 64301] New: Allow try-with-resources with OPCPackage.revert()

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

            Bug ID: 64301
           Summary: Allow try-with-resources with OPCPackage.revert()
           Product: POI
           Version: 4.1.x-dev
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: OPC
          Assignee: dev@poi.apache.org
          Reporter: kiwiwings@apache.org
  Target Milestone: ---

The following construct is causing a NullPointer

try (OPCPackage p = OPCPackage.create(new File(...))) {
   p.revert();
}

... commit follows ...

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


[Bug 64301] Allow try-with-resources with OPCPackage.revert()

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=64301

Andreas Beeker <ki...@apache.org> changed:

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

--- Comment #1 from Andreas Beeker <ki...@apache.org> ---
Fixed via r1876018

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org