Changeset 7728


Ignore:
Timestamp:
Jun 14, 2019, 12:58:56 PM (2 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #2186: Warning message when testing Excel functionality

Turned out to be the test were an existing Excel file is opened, modified and then saved to a different Excel file that didn't close the original file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/test/TestExcelFunctions.java

    r7678 r7728  
    7979  {
    8080    OutputStream out = null;
     81    Workbook workbook = null;
    8182    try
    8283    {
    83       Workbook workbook = null;
    8484      if (inFile != null)
    8585      {
     
    169169    finally
    170170    {
     171      FileUtil.close(workbook);
    171172      FileUtil.close(out);
    172173    }
Note: See TracChangeset for help on using the changeset viewer.