Commit 4f4cc156 authored by igor-suhorukov's avatar igor-suhorukov Committed by Stephane Nicoll

Polish

Declarations should use Java collection interfaces such as "Deque" rather
than specific implementation classes such as "LinkedList".

Closes gh-12405
parent 8109267d
...@@ -17,6 +17,7 @@ ...@@ -17,6 +17,7 @@
package org.springframework.boot.maven; package org.springframework.boot.maven;
import java.util.Arrays; import java.util.Arrays;
import java.util.Deque;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.Objects; import java.util.Objects;
...@@ -44,7 +45,7 @@ class RunArguments { ...@@ -44,7 +45,7 @@ class RunArguments {
} }
} }
public LinkedList<String> getArgs() { public Deque<String> getArgs() {
return this.args; return this.args;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment