You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2011/10/06 22:24:10 UTC
svn commit: r1179825 -
/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java
Author: lu4242
Date: Thu Oct 6 20:24:10 2011
New Revision: 1179825
URL: http://svn.apache.org/viewvc?rev=1179825&view=rev
Log:
MYFACES-3347 Improve web config param logging and enhance @JSFWebConfigParam
Modified:
myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java
Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java?rev=1179825&r1=1179824&r2=1179825&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java (original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/webapp/AbstractFacesInitializer.java Thu Oct 6 20:24:10 2011
@@ -154,7 +154,8 @@ public abstract class AbstractFacesIniti
WebConfigParamsLogger.logWebContextParams(facesContext);
// print out a very prominent log message if the project stage is != Production
- if (!facesContext.isProjectStage(ProjectStage.Production))
+ if (!facesContext.isProjectStage(ProjectStage.Production) &&
+ !facesContext.isProjectStage(ProjectStage.UnitTest))
{
ProjectStage projectStage = facesContext.getApplication().getProjectStage();
StringBuilder message = new StringBuilder("\n\n");