Skip to content

Commit

Permalink
remove guard
Browse files Browse the repository at this point in the history
  • Loading branch information
dshimo committed Apr 17, 2024
1 parent b9d13aa commit f9e48cd
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,7 @@ protected ServerConfigDocument getServerConfigDocument(CommonLoggerI log, File s
}

protected ServerConfigDocument getServerConfigDocument(CommonLoggerI log, File serverXML, Map<String, File> libertyDirPropertyFiles) throws IOException {
if (scd == null || !scd.getServerXML().getCanonicalPath().equals(serverXML.getCanonicalPath())) {
scd = new ServerConfigDocument(log, libertyDirPropertyFiles);
}

return scd;
return new ServerConfigDocument(log, libertyDirPropertyFiles);
}

protected String getAppsDirectory() {
Expand Down

0 comments on commit f9e48cd

Please sign in to comment.