Skip to content

Commit

Permalink
Remove unidiomatic public modifier in Groovy example code (#2238)
Browse files Browse the repository at this point in the history
The `public` access modifier is quite unidiomatic in Groovy code.

Co-authored-by: Kevin Wittek <kiview@users.noreply.github.com>
  • Loading branch information
mkutz and kiview committed Apr 11, 2020
1 parent a09f4d5 commit f5948a9
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 f5948a9

Please sign in to comment.