Permalink
Browse files

README updated.

  • Loading branch information...
1 parent de492b6 commit fc6425e935622a59673c8a7a1065a6f44b759a18 Andrew Kirilenko committed Mar 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -45,11 +45,11 @@ client.createCode(code);
Prefered way is to use provided builders like Params or TaskOptions, but you can fall back and pass Map<String, Object> instead.
```java
-// specififying some options
import io.iron.ironworker.client.entities.TaskEntity;
import io.iron.ironworker.client.builders.Params;
import io.iron.ironworker.client.builders.TaskOptions;
+// specififying some options
TaskEntity t = client.createTask("MyWorker",
(new Params()).add("param", 13).add("another", "value"),
(new TaskOptions()).priority(1).delay(60));

0 comments on commit fc6425e

Please sign in to comment.