mirror of
https://github.com/mapstruct/mapstruct.git
synced 2025-07-12 00:00:08 +08:00
Issue #79 Fixing small error in ArrayType
This commit is contained in:
parent
560855004b
commit
094b9c3e9e
@ -138,8 +138,7 @@ public class MethodMatcher {
|
|||||||
public Boolean visitArray(ArrayType t, TypeMirror p) {
|
public Boolean visitArray(ArrayType t, TypeMirror p) {
|
||||||
|
|
||||||
if ( p.getKind().equals( TypeKind.ARRAY) ) {
|
if ( p.getKind().equals( TypeKind.ARRAY) ) {
|
||||||
t.getComponentType().accept( this, ( (ArrayType) p ).getComponentType() );
|
return t.getComponentType().accept( this, ( (ArrayType) p ).getComponentType() );
|
||||||
return Boolean.TRUE;
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return Boolean.FALSE;
|
return Boolean.FALSE;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user