You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change "insert space" setting for type parameters based on Java version
Change `insert_space_after_closing_angle_bracket_in_type_parameters`
setting when Java 8 is used so that a space is inserted after the
parameter type. Later versions of the Eclipse formatter can use
`do not insert` and they will correctly format classes. Earlier versions
need to use `insert` otherwise the space disappears.
This commit effectively reverts commit b11499d for Java 8 only. This
shouldn't be a problem since records were introduced in Java 14.
Fixesgh-363
Copy file name to clipboardExpand all lines: spring-javaformat/spring-javaformat-formatter-tests/src/test/java/io/spring/javaformat/formatter/AbstractFormatterTests.java
Copy file name to clipboardExpand all lines: spring-javaformat/spring-javaformat-formatter/src/main/java/io/spring/javaformat/formatter/eclipse/Options.java
+7-2
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2017-2021 the original author or authors.
2
+
* Copyright 2017-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
0 commit comments