Skip to content

Commit

Permalink
Remove unidiomatic public modifier in Groovy example code (testcontai…
Browse files Browse the repository at this point in the history
…ners#2238)

The `public` access modifier is quite unidiomatic in Groovy code.

Co-authored-by: Kevin Wittek <kiview@users.noreply.github.com>
  • Loading branch information
2 people authored and quincy committed May 28, 2020
1 parent 8605d86 commit bb357a6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -10,7 +10,7 @@ class RedisBackedCacheIntTest extends Specification {
private RedisBackedCache underTest

// init {
public GenericContainer redis = new GenericContainer<>("redis:5.0.3-alpine")
GenericContainer redis = new GenericContainer<>("redis:5.0.3-alpine")
.withExposedPorts(6379)
// }

Expand Down

0 comments on commit bb357a6

Please sign in to comment.