Commit b269ab0e authored by Phillip Webb's avatar Phillip Webb

Make DefaultApplicationArguments public

Fixes gh-6521
parent feee401f
...@@ -26,17 +26,18 @@ import org.springframework.core.env.SimpleCommandLinePropertySource; ...@@ -26,17 +26,18 @@ import org.springframework.core.env.SimpleCommandLinePropertySource;
import org.springframework.util.Assert; import org.springframework.util.Assert;
/** /**
* Default internal implementation of {@link ApplicationArguments}. * Default implementation of {@link ApplicationArguments}.
* *
* @author Phillip Webb * @author Phillip Webb
* @since 1.4.1
*/ */
class DefaultApplicationArguments implements ApplicationArguments { public class DefaultApplicationArguments implements ApplicationArguments {
private final Source source; private final Source source;
private final String[] args; private final String[] args;
DefaultApplicationArguments(String[] args) { public DefaultApplicationArguments(String[] args) {
Assert.notNull(args, "Args must not be null"); Assert.notNull(args, "Args must not be null");
this.source = new Source(args); this.source = new Source(args);
this.args = args; this.args = 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