Skip to content

Commit

Permalink
mapstruct#2156 checkstyle.. as ever
Browse files Browse the repository at this point in the history
  • Loading branch information
sjaakd committed Jul 19, 2020
1 parent 7cd6422 commit 05bd466
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -600,7 +600,7 @@ private <T extends Method> String join( List<SelectedMethod<T>> candidates ) {
.collect( Collectors.joining( ", " ) );

if ( candidates.size() > MAX_REPORTING_AMBIGUOUS ) {
candidateStr += String.format( "... and %s more", +candidates.size() - MAX_REPORTING_AMBIGUOUS );
candidateStr += String.format( "... and %s more", candidates.size() - MAX_REPORTING_AMBIGUOUS );
}
return candidateStr;
}
Expand Down
Expand Up @@ -38,6 +38,7 @@ public class AmbigiousMapperTest {

public void testErrorMessageForAmbiguous() {
}

@Test
@WithClasses( ErroneousWithMoreThanFiveAmbiguousMethodsMapper.class)
@ExpectedCompilationOutcome(
Expand Down

0 comments on commit 05bd466

Please sign in to comment.