You will be redirected in 0 seconds to Java Best Practices - Prefer lambdas to anonymous classes