continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From batkin...@apache.org
Subject svn commit: r1672884 - /continuum/trunk/continuum-core/src/test/java/org/apache/continuum/repository/DefaultRepositoryServiceTest.java
Date Sat, 11 Apr 2015 15:44:00 GMT
Author: batkinson
Date: Sat Apr 11 15:44:00 2015
New Revision: 1672884

URL: http://svn.apache.org/r1672884
Log:
Converted bean lookup to use class-based method.

Modified:
    continuum/trunk/continuum-core/src/test/java/org/apache/continuum/repository/DefaultRepositoryServiceTest.java

Modified: continuum/trunk/continuum-core/src/test/java/org/apache/continuum/repository/DefaultRepositoryServiceTest.java
URL: http://svn.apache.org/viewvc/continuum/trunk/continuum-core/src/test/java/org/apache/continuum/repository/DefaultRepositoryServiceTest.java?rev=1672884&r1=1672883&r2=1672884&view=diff
==============================================================================
--- continuum/trunk/continuum-core/src/test/java/org/apache/continuum/repository/DefaultRepositoryServiceTest.java
(original)
+++ continuum/trunk/continuum-core/src/test/java/org/apache/continuum/repository/DefaultRepositoryServiceTest.java
Sat Apr 11 15:44:00 2015
@@ -46,11 +46,10 @@ public class DefaultRepositoryServiceTes
     {
         super.setUp();
 
-        repositoryPurgeConfigurationDao = (RepositoryPurgeConfigurationDao) lookup(
-            RepositoryPurgeConfigurationDao.class.getName() );
-
-        repositoryService = (RepositoryService) lookup( RepositoryService.ROLE );
+        repositoryPurgeConfigurationDao =
+            (RepositoryPurgeConfigurationDao) lookup( RepositoryPurgeConfigurationDao.class
);
 
+        repositoryService = (RepositoryService) lookup( RepositoryService.class );
     }
 
     public void testRemoveRepository()



Mime
View raw message