Skip to content

Commit

Permalink
Fix checkstyle violations in JettyHomeTester
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Bartel <janb@webtide.com>
  • Loading branch information
janbartel committed Jan 26, 2021
1 parent a2270fe commit 83b0472
Showing 1 changed file with 5 additions and 2 deletions.
Expand Up @@ -156,9 +156,12 @@ public JettyHomeTester.Run start(List<String> args) throws Exception

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"));
}
Expand Down

0 comments on commit 83b0472

Please sign in to comment.