mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 22:43:12 +00:00
Move context.complete() call to avoid closing passed in context
This commit is contained in:
@@ -212,6 +212,8 @@ public class StructBuilder {
|
||||
}
|
||||
|
||||
importStructure(context, inputStream, outputStream);
|
||||
// save changes from import
|
||||
context.complete();
|
||||
}
|
||||
System.exit(0);
|
||||
}
|
||||
@@ -304,8 +306,6 @@ public class StructBuilder {
|
||||
output, e.getMessage());
|
||||
System.exit(1);
|
||||
}
|
||||
|
||||
context.complete();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user