Skip to content

Commit

Permalink
#2438 Code Cleanup per Leonid's review
Browse files Browse the repository at this point in the history
  • Loading branch information
sekmiller committed Apr 23, 2018
1 parent 5ec2522 commit cef0518
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public Dataset execute(CommandContext ctxt) throws CommandException {
// Remove locks
ctxt.engine().submit(new RemoveLockCommand(getRequest(), theDataset, DatasetLock.Reason.Workflow));
ctxt.engine().submit(new RemoveLockCommand(getRequest(), theDataset, DatasetLock.Reason.pidRegister));
ctxt.datasets().removeDatasetLocks(theDataset.getId(), DatasetLock.Reason.pidRegister);
if ( theDataset.isLockedFor(DatasetLock.Reason.InReview) ) {
ctxt.engine().submit(
new RemoveLockCommand(getRequest(), theDataset, DatasetLock.Reason.InReview) );
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,6 @@ public PublishDatasetResult execute(CommandContext ctxt) throws CommandException
}


@Asynchronous
private PublishDatasetResult callFinalizeAsync(CommandContext ctxt) throws CommandException {
try {
ctxt.datasets().callFinalizePublishCommandAsynchronously(theDataset, ctxt, request);
Expand Down

0 comments on commit cef0518

Please sign in to comment.