From 73528770688d6b537aa20f59c010f3349d8ad7a7 Mon Sep 17 00:00:00 2001 From: Julien WITTOUCK Date: Fri, 17 Sep 2021 17:45:57 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=20:=20replace=20addAll=20with=20param?= =?UTF-8?q?etrized=20constructor=20call?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/io/gaia_app/runner/RunnerController.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/io/gaia_app/runner/RunnerController.java b/src/main/java/io/gaia_app/runner/RunnerController.java index 64fd658d..b6e5844c 100644 --- a/src/main/java/io/gaia_app/runner/RunnerController.java +++ b/src/main/java/io/gaia_app/runner/RunnerController.java @@ -84,8 +84,7 @@ public Map findFirstRunnableStep() { } } - List 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);