Skip to content
Permalink
Browse files
Adding cleanup for unit test methods
  • Loading branch information
effrafax committed Aug 1, 2021
1 parent cefb996 commit 32cf20409208f30c458ec9fc992e2bec1d64fd87
Showing 2 changed files with 207 additions and 102 deletions.
@@ -437,8 +437,7 @@ public <D> CheckedResult<RepositoryGroup, D> putWithCheck( RepositoryGroupConfig
{
final String id = repositoryConfiguration.getId( );
RepositoryGroup currentGroup = repositoryGroups.get( id );
Configuration configuration = configurationHandler.getBaseConfiguration( );
RepositoryGroup repositoryGroup = put( repositoryConfiguration, configuration );
RepositoryGroup repositoryGroup = newInstance( repositoryConfiguration );
CheckedResult<RepositoryGroup, D> result;
if ( currentGroup == null )
{
@@ -593,7 +592,7 @@ public void updateReferences( RepositoryGroup repo, RepositoryGroupConfiguration
@Override
public Collection<RepositoryGroup> getAll( )
{
return repositoryGroups.values( );
return Collections.unmodifiableCollection( repositoryGroups.values( ) );
}

@Override

0 comments on commit 32cf204

Please sign in to comment.