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

Closes gh-12405
pull/12419/merge
igor-suhorukov 7 years ago committed by Stephane Nicoll
parent 8109267de8
commit 4f4cc1569c

@ -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 {
} }
} }
public LinkedList<String> getArgs() { public Deque<String> getArgs() {
return this.args; return this.args;
} }

Loading…
Cancel
Save