Skip to content

Commit

Permalink
Using single quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bmuschko committed May 1, 2011
1 parent 9cf6b79 commit 175b151
Showing 1 changed file with 4 additions and 4 deletions.
Expand Up @@ -40,12 +40,12 @@ class TomcatRun extends AbstractTomcatRunTask {
// Check the location of the static content/JSPs etc.
try {
if(!getWebAppSourceDirectory() || !getWebAppSourceDirectory().exists()) {
throw new InvalidUserDataException("Webapp source directory "
+ (getWebAppSourceDirectory() == null ? "null" : getWebAppSourceDirectory().getCanonicalPath())
+ " does not exist")
throw new InvalidUserDataException('Webapp source directory '
+ (!getWebAppSourceDirectory() ? 'null' : getWebAppSourceDirectory().canonicalPath)
+ ' does not exist')
}
else {
LOGGER.info "Webapp source directory = ${getWebAppSourceDirectory().getCanonicalPath()}"
LOGGER.info "Webapp source directory = ${getWebAppSourceDirectory().canonicalPath}"
}
}
catch(IOException e) {
Expand Down

0 comments on commit 175b151

Please sign in to comment.