Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cstamas committed Sep 24, 2022
1 parent 22839de commit 74076a5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,13 @@ private NamedLockFactoryAdapter createAdapter( final RepositorySystemSession ses
NameMapper nameMapper = nameMappers.get( nameMapperName );
if ( nameMapper == null )
{
throw new IllegalArgumentException( "Unknown nameMapperName: " + namedLockFactoryName
throw new IllegalArgumentException( "Unknown NameMapper name: " + nameMapperName
+ ", known ones: " + nameMappers.keySet() );
}
NamedLockFactory namedLockFactory = namedLockFactories.get( namedLockFactoryName );
if ( namedLockFactory == null )
{
throw new IllegalArgumentException( "Unknown namedLockFactory: " + namedLockFactoryName
throw new IllegalArgumentException( "Unknown NamedLockFactory name: " + namedLockFactoryName
+ ", known ones: " + namedLockFactories.keySet() );
}
NamedLockFactoryAdapter adapter = new NamedLockFactoryAdapter( nameMapper, namedLockFactory );
Expand Down

0 comments on commit 74076a5

Please sign in to comment.