Skip to content

Commit 9df6cee

Browse files
committed
revisions from jeff's comments
1 parent 99ad765 commit 9df6cee

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sample/Archiving/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ get(new Route("/start") {
9797
});
9898
```
9999

100-
In this handler the `startArchive()` method of the `opentok` instance is called with the `sessionId`
100+
In this handler, the `startArchive()` method of the `opentok` instance is called with the `sessionId`
101101
for the session that needs to be archived. The optional second argument is `name`, which stored with
102102
the archive and can be read later. In this case, as in the HelloWorld sample app, there is
103103
only one session created and it is used here and for the participant view. This will trigger the
@@ -226,7 +226,7 @@ This view is paginated so that we don't potentially show hundreds of rows on the
226226
be difficult for the user to navigate. So this code starts by figuring out which page needs to be
227227
shown, where each page is a set of 5 archives. The `page` number is read from the request's query
228228
string parameters as a string and then parsed into an `int`. The `offset`, which represents how many
229-
archives are being skipped is always calculated as five time as pages that are less than the current
229+
archives are being skipped is always calculated as five times as pages that are less than the current
230230
page, which is `(page - 1) * 5`. Now there is enough information to ask for a list of archives from
231231
OpenTok, which we do by calling the `listArchives()` method of the `opentok` instance. The first
232232
parameter is the offset, and the second is the count (which is always 5 in this view). If we are not
@@ -237,7 +237,7 @@ using that information and the partial list of archives.
237237
At this point the template file `src/main/resources/com/example/freemarker/history.ftl` handles
238238
looping over the array of archives and outputting the proper information for each column in the
239239
table. It also places a link to the download and delete routes around the archive's name and
240-
it's delete button, respectively.
240+
its delete button, respectively.
241241

242242
The code for the download route handler is shown below:
243243

sample/Archiving/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ dependencies {
1313
}
1414

1515
run.systemProperty 'API_KEY', ''
16-
run.systemProperty 'API_SECRET', ''
16+
run.systemProperty 'API_SECRET', ''

0 commit comments

Comments
 (0)