Remove duplicate words in Java source code

Discovered using regular expression: \b(\w+)\s+\1\b[^(}]
This commit is contained in:
Sam Brannen
2025-04-14 11:24:55 +02:00
parent f27382cfb6
commit a22d204681
10 changed files with 42 additions and 42 deletions

View File

@@ -126,7 +126,7 @@ class MockitoBeanOverrideHandlerTests {
/**
* Since the "field name as fallback qualifier" is not available for an annotated class,
* what would seem to be "equivalent" handlers are actually not considered "equal" when
* the the lookup is "by type".
* the lookup is "by type".
*/
@Test // gh-33925
void isNotEqualToWithSameByTypeLookupMetadataFromFieldAndClassLevel() {