[jboss-cvs] JBossAS SVN: r100657 - trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/deployers.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Feb 6 19:56:58 EST 2010
Author: marius.bogoevici
Date: 2010-02-06 19:56:57 -0500 (Sat, 06 Feb 2010)
New Revision: 100657
Modified:
trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java
Log:
minor - formatting
Modified: trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java
===================================================================
--- trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java 2010-02-07 00:55:55 UTC (rev 100656)
+++ trunk/tomcat/src/main/java/org/jboss/web/tomcat/service/deployers/TomcatDeployment.java 2010-02-07 00:56:57 UTC (rev 100657)
@@ -191,7 +191,8 @@
TomcatInjectionContainer injectionContainer = new TomcatInjectionContainer(webApp, depUnit, context, getPersistenceUnitDependencyResolver());
- if (kernel != null) {
+ if (kernel != null)
+ {
// Look for a WBInjector bean defined for the current deployment unit. If not found, check the parent.
DeploymentUnit inspectedUnit = unit;
ControllerContext injectorControllerContext = null;
@@ -200,7 +201,8 @@
injectorControllerContext = kernel.getController().getInstalledContext(inspectedUnit.getName() + "_WBInjector");
inspectedUnit = inspectedUnit.getParent();
}
- if (injectorControllerContext != null) {
+ if (injectorControllerContext != null)
+ {
injectionContainer.setDefaultInjectors(Collections.singletonList((Injector)injectorControllerContext.getTarget()));
}
}
More information about the jboss-cvs-commits
mailing list