Repository: zest-java Updated Branches: refs/heads/develop ce95ca7d4 -> cfdb3dd31
test commit Project: http://git-wip-us.apache.org/repos/asf/zest-java/repo Commit: http://git-wip-us.apache.org/repos/asf/zest-java/commit/cfdb3dd3 Tree: http://git-wip-us.apache.org/repos/asf/zest-java/tree/cfdb3dd3 Diff: http://git-wip-us.apache.org/repos/asf/zest-java/diff/cfdb3dd3 Branch: refs/heads/develop Commit: cfdb3dd3118c3cd3ba373e0d1d83e23b69d86bad Parents: ce95ca7 Author: Kent Sølvsten <[email protected]> Authored: Wed Jul 29 10:20:04 2015 +0200 Committer: Kent Sølvsten <[email protected]> Committed: Wed Jul 29 10:20:04 2015 +0200 ---------------------------------------------------------------------- .../main/java/org/qi4j/library/servlet/Qi4jServletSupport.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/zest-java/blob/cfdb3dd3/libraries/servlet/src/main/java/org/qi4j/library/servlet/Qi4jServletSupport.java ---------------------------------------------------------------------- diff --git a/libraries/servlet/src/main/java/org/qi4j/library/servlet/Qi4jServletSupport.java b/libraries/servlet/src/main/java/org/qi4j/library/servlet/Qi4jServletSupport.java old mode 100644 new mode 100755 index 3e404e4..d88692e --- a/libraries/servlet/src/main/java/org/qi4j/library/servlet/Qi4jServletSupport.java +++ b/libraries/servlet/src/main/java/org/qi4j/library/servlet/Qi4jServletSupport.java @@ -13,10 +13,11 @@ */ package org.qi4j.library.servlet; -import javax.servlet.ServletContext; import org.qi4j.api.structure.Application; import org.qi4j.library.servlet.lifecycle.AbstractQi4jServletBootstrap; +import javax.servlet.ServletContext; + public final class Qi4jServletSupport { @@ -28,7 +29,8 @@ public final class Qi4jServletSupport */ public static Application application( ServletContext servletContext ) { - return ( Application ) servletContext.getAttribute( APP_IN_CTX ); // TODO try/catch and find a suitable Zest exception + // TODO try/catch and find a suitable Zest exception + return ( Application ) servletContext.getAttribute( APP_IN_CTX ); } private Qi4jServletSupport()
