Skip to content

Commit

Permalink
little stylistic improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
chad committed Jan 13, 2013
1 parent 2b231a2 commit 5e95f8e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/controllers/Batch.scala
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,7 @@ object Batch extends Controller {
case "delete" => url.delete
}

if( batchRequest.sequential ) {
new SyncResult(response.value.get)
} else {
new AsyncResult(response)
}
if( batchRequest.sequential ) new SyncResult(response.value.get) else new AsyncResult(response)
}
val body = responses.map {
case SyncResult(result) => result.body
Expand Down

0 comments on commit 5e95f8e

Please sign in to comment.