Permalink
Browse files

Fix #569

  • Loading branch information...
1 parent 6c1925f commit 85e893b4b5ce8ffe6eedb4bf420511c229f01fd3 @jcookems jcookems committed Dec 19, 2012
@@ -120,8 +120,8 @@ public CreateBatchOperation(String mediaProcessorId, String taskBody) {
* the options
* @return the creates the batch operation
*/
- public CreateBatchOperation setOptions(int options) {
- this.taskType.setOptions(options);
+ public CreateBatchOperation setOptions(TaskOption options) {
+ this.taskType.setOptions(options.getCode());
return this;
}

0 comments on commit 85e893b

Please sign in to comment.