Fix method name typo (#3691)

This commit is contained in:
김기서 2024-09-02 16:05:01 +09:00 committed by GitHub
parent 1e89d7497b
commit 23f4802374
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@ public class NativeTypesTest {
.isNotNull();
// most negative int: dec / octal / int / binary
// NOTE parseInt should be changed to parseUnsignedInt in Java, than the - sign can disssapear (java8)
// NOTE parseInt should be changed to parseUnsignedInt in Java, than the - sign can dissapear (java8)
// and the function will be true to what the compiler shows.
assertThat( getLiteral( int.class.getCanonicalName(), "-2147483648" ) ).isNotNull();
assertThat( getLiteral( int.class.getCanonicalName(), "0x8000_0000" ) ).isNotNull();
@ -177,7 +177,7 @@ public class NativeTypesTest {
* The following example shows other ways you can use the underscore in numeric literals:
*/
@Test
public void testFloatingPoingLiteralFromJLS() {
public void testFloatingPointLiteralFromJLS() {
// The largest positive finite literal of type float is 3.4028235e38f.
assertThat( getLiteral( float.class.getCanonicalName(), "3.4028235e38f" ) ).isNotNull();

View File

@ -41,7 +41,7 @@ public class AccessibilityTest {
assertTrue( isDefault( defaultFromIfc.getModifiers() ) );
assertTrue( isPublic( modifiersFor( defaultFromIfc, "implicitlyPublicSoureToTarget" ) ) );
assertTrue( isPublic( modifiersFor( defaultFromIfc, "implicitlyPublicSourceToTarget" ) ) );
}
private static Class<?> loadForMapper(Class<?> mapper) throws ClassNotFoundException {

View File

@ -12,5 +12,5 @@ import org.mapstruct.Mapper;
*/
@Mapper
interface DefaultSourceTargetMapperIfc {
Target implicitlyPublicSoureToTarget(Source source);
Target implicitlyPublicSourceToTarget(Source source);
}