From 87ff9f5d3dc1ca0b921764a9412dcbdc8776f466 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 1 Oct 2015 15:39:41 +1000 Subject: more usage of MockRepositorySessionFactory --- .../archiva/metadata/repository/RepositorySessionFactoryBean.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'archiva-modules/metadata') diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java index 5a5c4857f..3312a3cfb 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java +++ b/archiva-modules/metadata/metadata-repository-api/src/main/java/org/apache/archiva/metadata/repository/RepositorySessionFactoryBean.java @@ -22,7 +22,6 @@ package org.apache.archiva.metadata.repository; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.config.AbstractFactoryBean; -import org.springframework.stereotype.Service; import java.util.Properties; @@ -30,7 +29,6 @@ import java.util.Properties; * @author Olivier Lamy * @since 2.0.2 */ -//@Service("repositorySessionFactoryBean#default") public class RepositorySessionFactoryBean extends AbstractFactoryBean { @@ -67,7 +65,9 @@ public class RepositorySessionFactoryBean { RepositorySessionFactory repositorySessionFactory = getBeanFactory().getBean( "repositorySessionFactory#" + id, RepositorySessionFactory.class ); - logger.info( "create RepositorySessionFactory instance of {}", repositorySessionFactory.getClass().getName() ); + logger.info( "create RepositorySessionFactory with id {} instance of {}", // + id, // + repositorySessionFactory.getClass().getName() ); return repositorySessionFactory; } -- cgit v1.2.3