Remove redundant throws Exception

This commit is contained in:
Madhura Bhave
2018-01-25 17:08:55 +05:30
parent 9cae416755
commit d65f9b25bc
57 changed files with 57 additions and 57 deletions

View File

@@ -39,7 +39,7 @@ public class SampleRedisApplication implements CommandLineRunner {
System.out.println("Found key " + key + ", value=" + ops.get(key));
}
public static void main(String[] args) throws Exception {
public static void main(String[] args) {
// Close the context so it doesn't stay awake listening for redis
SpringApplication.run(SampleRedisApplication.class, args).close();
}