Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2014-08-01 22:58:24 -0400
committerGreg Wilkins2014-08-01 22:58:24 -0400
commitaaa2e5c6c1d6d34f8068dc9a056a6b446fd05603 (patch)
tree2db8c5be4c3750e5d6b16a82064cf95cce72e758 /jetty-quickstart
parent1873b306b37616252b989bca44b36209ab40a08a (diff)
downloadorg.eclipse.jetty.project-aaa2e5c6c1d6d34f8068dc9a056a6b446fd05603.tar.gz
org.eclipse.jetty.project-aaa2e5c6c1d6d34f8068dc9a056a6b446fd05603.tar.xz
org.eclipse.jetty.project-aaa2e5c6c1d6d34f8068dc9a056a6b446fd05603.zip
refined PathResource alias handling
Diffstat (limited to 'jetty-quickstart')
-rw-r--r--jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java b/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java
index 85f95dcb6a..88552d660a 100644
--- a/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java
+++ b/jetty-quickstart/src/main/java/org/eclipse/jetty/quickstart/QuickStartConfiguration.java
@@ -57,7 +57,7 @@ public class QuickStartConfiguration extends WebInfConfiguration
Resource webApp = context.newResource(war);
// Accept aliases for WAR files
- if (webApp.getAlias() != null)
+ if (webApp.isAlias())
{
LOG.debug(webApp + " anti-aliased to " + webApp.getAlias());
webApp = context.newResource(webApp.getAlias());

Back to the top