Skip to content

Commit

Permalink
♻ : replace addAll with parametrized constructor call
Browse files Browse the repository at this point in the history
  • Loading branch information
juwit committed Sep 17, 2021
1 parent 164fdcd commit 7352877
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/io/gaia_app/runner/RunnerController.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ public Map<String, Object> findFirstRunnableStep() {
}
}

List<String> env = new ArrayList<>();
env.addAll(settings.env());
var env = new ArrayList<>(settings.env());

if(stack.getCredentialsId() != null){
var credentials = this.credentialsService.load(stack.getCredentialsId()).orElse(null);
Expand Down

0 comments on commit 7352877

Please sign in to comment.