Author: youngm
Date: 2008-11-10 18:08:28 -0500 (Mon, 10 Nov 2008)
New Revision: 9539
Modified:
trunk/src/main/org/jboss/seam/contexts/Contexts.java
Log:
JBSEAM-3687
Modified: trunk/src/main/org/jboss/seam/contexts/Contexts.java
===================================================================
--- trunk/src/main/org/jboss/seam/contexts/Contexts.java 2008-11-10 12:13:16 UTC (rev
9538)
+++ trunk/src/main/org/jboss/seam/contexts/Contexts.java 2008-11-10 23:08:28 UTC (rev
9539)
@@ -159,7 +159,7 @@
Object result = getMethodContext().get(name);
if (result!=null)
{
- log.debug("found in method context: " + name);
+ if ( log.isDebugEnabled() ) log.debug("found in method context: "
+ name);
return result;
}
}
@@ -169,7 +169,7 @@
Object result = getEventContext().get(name);
if (result!=null)
{
- log.debug("found in event context: " + name);
+ if ( log.isDebugEnabled() ) log.debug("found in event context: " +
name);
return result;
}
}
@@ -179,7 +179,7 @@
Object result = getPageContext().get(name);
if (result!=null)
{
- log.debug("found in page context: " + name);
+ if ( log.isDebugEnabled() ) log.debug("found in page context: " +
name);
return result;
}
}
@@ -189,7 +189,7 @@
Object result = getConversationContext().get(name);
if (result!=null)
{
- log.debug("found in conversation context: " + name);
+ if ( log.isDebugEnabled() ) log.debug("found in conversation context:
" + name);
return result;
}
}
@@ -199,7 +199,7 @@
Object result = getSessionContext().get(name);
if (result!=null)
{
- log.debug("found in session context: " + name);
+ if ( log.isDebugEnabled() ) log.debug("found in session context: "
+ name);
return result;
}
}
@@ -209,7 +209,7 @@
Object result = getBusinessProcessContext().get(name);
if (result!=null)
{
- log.debug("found in business process context: " + name);
+ if ( log.isDebugEnabled() ) log.debug("found in business process
context: " + name);
return result;
}
}
@@ -219,7 +219,7 @@
Object result = getApplicationContext().get(name);
if (result!=null)
{
- log.debug("found in application context: " + name);
+ if ( log.isDebugEnabled() ) log.debug("found in application context:
" + name);
return result;
}
}
Show replies by date