Skip to content

Commit ca7f338

Browse files
committed
Polish "Remove redundant throws Exception"
Closes gh-15647
1 parent a5d2b2c commit ca7f338

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spring-boot-project/spring-boot/src/main/java/org/springframework/boot/SpringApplication.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2018 the original author or authors.
2+
* Copyright 2012-2019 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -106,7 +106,7 @@
106106
*
107107
* // ... Bean definitions
108108
*
109-
* public static void main(String[] args) throws Exception {
109+
* public static void main(String[] args) {
110110
* SpringApplication.run(MyApplication.class, args);
111111
* }
112112
* }
@@ -117,7 +117,7 @@
117117
* customized before being run:
118118
*
119119
* <pre class="code">
120-
* public static void main(String[] args) throws Exception {
120+
* public static void main(String[] args) {
121121
* SpringApplication application = new SpringApplication(MyApplication.class);
122122
* // ... customize application settings here
123123
* application.run(args)

0 commit comments

Comments
 (0)