diff options
-rw-r--r-- | qadevOOo/runner/helper/APIDescGetter.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/qadevOOo/runner/helper/APIDescGetter.java b/qadevOOo/runner/helper/APIDescGetter.java index d7a672801a07..0de81db1779b 100644 --- a/qadevOOo/runner/helper/APIDescGetter.java +++ b/qadevOOo/runner/helper/APIDescGetter.java @@ -631,6 +631,15 @@ public class APIDescGetter extends DescGetter theEntry.SubEntryCount = subEntries != null ? subEntries.length : 0; theEntry.SubEntries = subEntries; + try + { + csvFile.close(); + } + catch (java.io.IOException ioe) + { + System.out.println("Exception while closing csvFile"); + } + return theEntry; } @@ -715,6 +724,15 @@ public class APIDescGetter extends DescGetter DescEntry[] subEntries = getSubEntries(csvFile, aEntry); + try + { + csvFile.close(); + } + catch (java.io.IOException ioe) + { + System.out.println("Exception while closing csvFile"); + } + aEntry.SubEntryCount = subEntries != null ? subEntries.length : 0; aEntry.SubEntries = subEntries; |