You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@archiva.apache.org by ma...@apache.org on 2018/04/09 20:21:03 UTC
[archiva-redback-components-spring-utils] 16/47: improve a bit
logging pattern with .debug
This is an automated email from the ASF dual-hosted git repository.
martin_s pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/archiva-redback-components-spring-utils.git
commit fe7aa612fcd00cf37896de518e0494fc68bd651b
Author: Olivier Lamy <ol...@apache.org>
AuthorDate: Fri Sep 7 08:16:29 2012 +0000
improve a bit logging pattern with .debug
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-components/trunk@1381929 13f79535-47bb-0310-9956-ffa450edef68
---
.../archiva/redback/components/springutils/CachingByTypeBeanFactory.java | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/main/java/org/apache/archiva/redback/components/springutils/CachingByTypeBeanFactory.java b/src/main/java/org/apache/archiva/redback/components/springutils/CachingByTypeBeanFactory.java
index 6a36eb9..7033b5e 100755
--- a/src/main/java/org/apache/archiva/redback/components/springutils/CachingByTypeBeanFactory.java
+++ b/src/main/java/org/apache/archiva/redback/components/springutils/CachingByTypeBeanFactory.java
@@ -59,6 +59,7 @@ public class CachingByTypeBeanFactory
return cachedBeanNamesForType.get( typeKey );
}
String[] value = super.getBeanNamesForType( type, includeNonSingletons, allowEagerInit );
+ // using this pattern as we prevent building a List
if ( log.isDebugEnabled() )
{
log.debug( "will add to cache: {} : {}", typeKey, Arrays.asList( value ) );
--
To stop receiving notification emails like this one, please contact
martin_s@apache.org.