[jboss-cvs] JBossAS SVN: r81265 - trunk/system/src/main/org/jboss/system/server/profileservice.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Nov 18 19:23:51 EST 2008
Author: scott.stark at jboss.org
Date: 2008-11-18 19:23:51 -0500 (Tue, 18 Nov 2008)
New Revision: 81265
Modified:
trunk/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java
Log:
Fix the check for a null mainDeployer as caught by Richard Krutisch
Modified: trunk/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java
===================================================================
--- trunk/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java 2008-11-18 23:39:09 UTC (rev 81264)
+++ trunk/system/src/main/org/jboss/system/server/profileservice/ProfileServiceBootstrap.java 2008-11-19 00:23:51 UTC (rev 81265)
@@ -177,7 +177,7 @@
if(profileService == null)
throw new IllegalStateException("The ProfileService has not been injected");
log.debug("Using ProfileService: " + profileService);
- if(profileService == null)
+ if(mainDeployer == null)
throw new IllegalStateException("The MainDeployer has not been injected");
log.debug("Using MainDeployer: " + mainDeployer);
More information about the jboss-cvs-commits
mailing list