Skip to content

Commit

Permalink
Corrected syntax for specifying values for @hotreload value parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Hemanth Babu committed Aug 21, 2014
1 parent 4294b87 commit 46ea76f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions owner-site/site/docs/reload.md
Expand Up @@ -151,12 +151,12 @@ interface MyConfig extends Config { ... }
// Will use ASYNC reload type: will span a
// separate thread that will check for file
// changes every 5 seconds (default)
@HotReload(type=HotReloadType.ASYNC);
@HotReload(type=HotReloadType.ASYNC)
@Sources("file:foo/bar/baz.properties")
interface MyConfig extends Config { ... }

// Will use ASYNC reload type and will check every 2 seconds.
@HotReload(value=2, type=HotReloadType.ASYNC);
@HotReload(value=2, type=HotReloadType.ASYNC)
@Sources("file:foo/bar/baz.properties")
interface MyConfig extends Config { ... }
```
Expand Down

1 comment on commit 46ea76f

@lviggiano
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I'll merge this commit as soon as I reach a desktop pc :) (enjoying holidays)

Please sign in to comment.