Compare commits

..

No commits in common. "927b549794bbae5b9094641f4c79ed1b960fdb7c" and "a2f62e1b1bb3744649e90dbd80ee0f9a2165a655" have entirely different histories.

3 changed files with 2 additions and 5 deletions

1
.idea/misc.xml generated
View file

@ -8,7 +8,6 @@
<option name="customRuleSets"> <option name="customRuleSets">
<list> <list>
<option value="$PROJECT_DIR$/config/pmd.xml" /> <option value="$PROJECT_DIR$/config/pmd.xml" />
<option value="K:\java\semver\config\pmd.xml" />
</list> </list>
</option> </option>
<option name="options"> <option name="options">

View file

@ -1,4 +1,4 @@
# [b<span style="color:orange">l</span>d](https://rife2.com/bld) Command Line Execution Extension # [b<span style="color:orange">l</span>d](https://rife2.com/bldb) Command Line Execution Extension
[![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![License](https://img.shields.io/badge/license-Apache%20License%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
[![Java](https://img.shields.io/badge/java-17%2B-blue)](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html) [![Java](https://img.shields.io/badge/java-17%2B-blue)](https://www.oracle.com/java/technologies/javase/jdk17-archive-downloads.html)

View file

@ -48,8 +48,6 @@ public class ExecOperation extends AbstractOperation<ExecOperation> {
* <li>{@code command("cmd", "/c", "stop.bat")}</li> * <li>{@code command("cmd", "/c", "stop.bat")}</li>
* <li>{@code command("./stop.sh"}</li> * <li>{@code command("./stop.sh"}</li>
* </ul></p> * </ul></p>
*
* @see #command(Collection)
*/ */
public ExecOperation command(String... arg) { public ExecOperation command(String... arg) {
args_.addAll(List.of(arg)); args_.addAll(List.of(arg));
@ -61,7 +59,7 @@ public class ExecOperation extends AbstractOperation<ExecOperation> {
* *
* @see #command(String...) * @see #command(String...)
*/ */
public ExecOperation command(Collection<String> args) { public ExecOperation command(List<String> args) {
args_.addAll(args); args_.addAll(args);
return this; return this;
} }