Fixing checkstyle issue

Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
This commit is contained in:
Joakim Erdfelt 2021-01-26 11:13:09 -06:00
parent b214837c78
commit c80eac0386
No known key found for this signature in database
GPG Key ID: 2D0E1FB8FE4B68B4
1 changed files with 5 additions and 2 deletions

View File

@ -156,9 +156,12 @@ public class JettyHomeTester
args = new ArrayList<>(args);
if (StringUtil.isNotBlank( config.mavenLocalRepository)) {
if (StringUtil.isNotBlank(config.mavenLocalRepository))
{
args.add("maven.local.repo=" + config.mavenLocalRepository);
} else if (StringUtil.isNotBlank(System.getProperty("mavenRepoPath"))){
}
else if (StringUtil.isNotBlank(System.getProperty("mavenRepoPath")))
{
// we get artifacts from local repo first
args.add("maven.local.repo=" + System.getProperty("mavenRepoPath"));
}