[Feature][Style] Make sure there is one and only one empty line at the end of each java file (#11520)
This commit is contained in:
parent
5983e41f4b
commit
f93e93cfd2
|
|
@ -23,6 +23,7 @@ import org.springframework.stereotype.Component;
|
||||||
@Component
|
@Component
|
||||||
@ConfigurationProperties("alert")
|
@ConfigurationProperties("alert")
|
||||||
public final class AlertConfig {
|
public final class AlertConfig {
|
||||||
|
|
||||||
private int port;
|
private int port;
|
||||||
|
|
||||||
private int waitTimeout;
|
private int waitTimeout;
|
||||||
|
|
@ -42,5 +43,4 @@ public final class AlertConfig {
|
||||||
public void setWaitTimeout(final int waitTimeout) {
|
public void setWaitTimeout(final int waitTimeout) {
|
||||||
this.waitTimeout = waitTimeout;
|
this.waitTimeout = waitTimeout;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
-->
|
-->
|
||||||
<profiles version="13">
|
<profiles version="22">
|
||||||
<profile kind="CodeFormatterProfile" name="'DolphinScheduler Apache Current'" version="13">
|
<profile kind="CodeFormatterProfile" name="'DolphinScheduler Apache Current'" version="13">
|
||||||
<setting id="org.eclipse.jdt.core.compiler.source" value="1.8" />
|
<setting id="org.eclipse.jdt.core.compiler.source" value="1.8" />
|
||||||
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8" />
|
<setting id="org.eclipse.jdt.core.compiler.compliance" value="1.8" />
|
||||||
|
|
@ -47,5 +47,6 @@
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="106" />
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_parameters_in_constructor_declaration" value="106" />
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="106" />
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_throws_clause_in_constructor_declaration" value="106" />
|
||||||
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call.count_dependent" value="16|5|80" />
|
<setting id="org.eclipse.jdt.core.formatter.alignment_for_arguments_in_explicit_constructor_call.count_dependent" value="16|5|80" />
|
||||||
|
<setting id="org.eclipse.jdt.core.formatter.insert_new_line_at_end_of_file_if_missing" value="insert"/>
|
||||||
</profile>
|
</profile>
|
||||||
</profiles>
|
</profiles>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue