Commit 980be357 authored by Robert Smith's avatar Robert Smith
Browse files

Merge remote-tracking branch 'origin/2.2.2' into next

parents b8995bdd 8ae7ae53
......@@ -323,7 +323,6 @@ public class VibeKVPair extends Item implements IReader, IWriter {
logger.info("VibeKVPair Message: Loading"
+ inputFile.getFullPath().toOSString());
form = read(inputFile);
form.setName(getName());
form.setDescription(getDescription());
form.setId(getId());
form.setItemID(getId());
......@@ -451,6 +450,10 @@ public class VibeKVPair extends Item implements IReader, IWriter {
// Add a dummy EOF line so that the last line of the file is
// read in correctly
lines.add("EOF");
//Close the reader
reader.close();
} catch (FileNotFoundException e) {
logger.error("VibeKVPair Message: "
+ "Error! Could not find file for loading.");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment