Upgraded Mockito

This commit upgrades mockito to the latest currently available version
as well as does some additional cleanup.
This commit is contained in:
Michael Minella
2017-01-24 14:18:05 -06:00
parent c824ccf7aa
commit 54a90beed7
12 changed files with 282 additions and 370 deletions

View File

@@ -60,7 +60,9 @@ public abstract class CheckpointSupport extends ItemStreamSupport{
public void open(ExecutionContext executionContext)
throws ItemStreamException {
try {
doOpen((Serializable) executionContext.get(getExecutionContextKey(checkpointKey)));
String executionContextKey = getExecutionContextKey(checkpointKey);
Serializable checkpoint = (Serializable) executionContext.get(executionContextKey);
doOpen(checkpoint);
} catch (Exception e) {
throw new ItemStreamException(e);
}