Skip to content

Commit

Permalink
Fixed UnsupportedOperationException
Browse files Browse the repository at this point in the history
  • Loading branch information
vaperion committed Nov 20, 2021
1 parent 18c5413 commit d832465
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Maven
<dependency>
<groupId>com.github.vaperion</groupId>
<artifactId>blade</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand All @@ -40,7 +40,7 @@ allprojects {
}
dependencies {
implementation 'com.github.vaperion:blade:2.0.0'
implementation 'com.github.vaperion:blade:2.0.1'
}
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>me.vaperion</groupId>
<artifactId>blade</artifactId>
<version>2.0.0</version>
<version>2.0.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public class BladeCommandParser {

@NotNull
public List<Object> parseArguments(@NotNull BladeCommand command, @NotNull BladeContext context, @NotNull String[] argArray) throws BladeExitMessage {
List<String> args = Arrays.asList(argArray);
List<String> args = new ArrayList<>(Arrays.asList(argArray));
List<Object> result = new ArrayList<>(command.getParameters().size());

try {
Expand Down

0 comments on commit d832465

Please sign in to comment.