Skip to content

Commit 4f4cc15

Browse files
igor-suhorukovsnicoll
authored andcommitted
Polish
Declarations should use Java collection interfaces such as "Deque" rather than specific implementation classes such as "LinkedList". Closes spring-projectsgh-12405
1 parent 8109267 commit 4f4cc15

File tree

1 file changed

+2
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven

1 file changed

+2
-1
lines changed

Diff for: spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/main/java/org/springframework/boot/maven/RunArguments.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package org.springframework.boot.maven;
1818

1919
import java.util.Arrays;
20+
import java.util.Deque;
2021
import java.util.LinkedList;
2122
import java.util.Objects;
2223

@@ -44,7 +45,7 @@ class RunArguments {
4445
}
4546
}
4647

47-
public LinkedList<String> getArgs() {
48+
public Deque<String> getArgs() {
4849
return this.args;
4950
}
5051

0 commit comments

Comments
 (0)