Polish
This commit is contained in:
@@ -341,7 +341,7 @@ public class BomExtension {
|
||||
|
||||
private String repository = "spring-boot";
|
||||
|
||||
private List<String> issueLabels;
|
||||
private final List<String> issueLabels;
|
||||
|
||||
private GitHub(String organization, String repository, List<String> issueLabels) {
|
||||
this.organization = organization;
|
||||
|
||||
@@ -47,7 +47,7 @@ public enum UpgradePolicy implements BiPredicate<DependencyVersion, DependencyVe
|
||||
*/
|
||||
SAME_MINOR_VERSION(DependencyVersion::isSameMinorAndNewerThan);
|
||||
|
||||
private BiPredicate<DependencyVersion, DependencyVersion> delegate;
|
||||
private final BiPredicate<DependencyVersion, DependencyVersion> delegate;
|
||||
|
||||
UpgradePolicy(BiPredicate<DependencyVersion, DependencyVersion> delegate) {
|
||||
this.delegate = delegate;
|
||||
|
||||
@@ -27,9 +27,9 @@ import java.util.stream.Stream;
|
||||
*/
|
||||
class CompoundConfigurationTableEntry extends ConfigurationTableEntry {
|
||||
|
||||
private Set<String> configurationKeys;
|
||||
private final Set<String> configurationKeys;
|
||||
|
||||
private String description;
|
||||
private final String description;
|
||||
|
||||
CompoundConfigurationTableEntry(String key, String description) {
|
||||
this.key = key;
|
||||
|
||||
@@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory;
|
||||
*/
|
||||
public class MavenExec extends JavaExec {
|
||||
|
||||
private Logger log = LoggerFactory.getLogger(MavenExec.class);
|
||||
private final Logger log = LoggerFactory.getLogger(MavenExec.class);
|
||||
|
||||
private File projectDir;
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*/
|
||||
public class CompoundConfigurationTableEntryTests {
|
||||
|
||||
private static String NEWLINE = System.lineSeparator();
|
||||
private static final String NEWLINE = System.lineSeparator();
|
||||
|
||||
@Test
|
||||
void simpleProperty() {
|
||||
|
||||
@@ -27,7 +27,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*/
|
||||
public class ConfigurationTableTests {
|
||||
|
||||
private static String NEWLINE = System.lineSeparator();
|
||||
private static final String NEWLINE = System.lineSeparator();
|
||||
|
||||
@Test
|
||||
void simpleTable() {
|
||||
|
||||
@@ -27,7 +27,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
||||
*/
|
||||
public class SingleConfigurationTableEntryTests {
|
||||
|
||||
private static String NEWLINE = System.lineSeparator();
|
||||
private static final String NEWLINE = System.lineSeparator();
|
||||
|
||||
@Test
|
||||
void simpleProperty() {
|
||||
|
||||
Reference in New Issue
Block a user