Skip to content

Commit

Permalink
Merge pull request #414 from vpavic/fix-docs-test
Browse files Browse the repository at this point in the history
Fix bad reference in IndexDocTests
  • Loading branch information
rwinch committed Mar 7, 2016
2 parents 68ddcef + e0e29ea commit 9b989c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/src/test/java/docs/IndexDocTests.java
Expand Up @@ -38,7 +38,7 @@ public class IndexDocTests {

@Test
public void repositoryDemo() {
ExpiringRepositoryDemo<ExpiringSession> demo = new ExpiringRepositoryDemo<ExpiringSession>();
RepositoryDemo<ExpiringSession> demo = new RepositoryDemo<ExpiringSession>();
demo.repository = new MapSessionRepository();

demo.demo();
Expand Down Expand Up @@ -76,7 +76,6 @@ public void expireRepositoryDemo() {
demo.demo();
}

@SuppressWarnings("unused")
// tag::expire-repository-demo[]
public class ExpiringRepositoryDemo<S extends ExpiringSession> {
private SessionRepository<S> repository; // <1>
Expand Down

0 comments on commit 9b989c4

Please sign in to comment.