Skip to content

Commit 0a284e2

Browse files
committed
Docs edits.
1 parent d2f1443 commit 0a284e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The OpenTok Java SDK lets you generate
66
[sessions](http://tokbox.com/opentok/tutorials/create-session/) and
77
[tokens](http://tokbox.com/opentok/tutorials/create-token/) for [OpenTok](http://www.tokbox.com/)
88
applications that run on the JVM. This version of the SDK also includes support for working with
9-
<a href="http://tokbox.com/#archiving"OpenTok 2.0 archives</a>.
9+
[OpenTok 2.0 archives](http://tokbox.com/#archiving).
1010

1111
# Installation using Maven Central (recommended):
1212

@@ -106,7 +106,7 @@ String token = session.generateToken();
106106
// Set some options in a token
107107
String token = session.generateToken(new TokenOptions.Builder()
108108
.role(Role.MODERATOR)
109-
.expireTime((System.currentTimeMillis() / 1000) + (7 * 24 * 60 * 60)) // in one week
109+
.expireTime((System.currentTimeMillis() / 1000L) + (7 * 24 * 60 * 60)) // in one week
110110
.data("name=Johnny")
111111
.build());
112112
```

0 commit comments

Comments
 (0)