Skip to content

Commit

Permalink
Remove redundant if from UnmappedTargetPropertiesInspection (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
hduelme authored Nov 20, 2022
1 parent 7fe1c86 commit 48b5188
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -174,11 +174,7 @@ private static PsiType getTargetType(PsiMethod method) {
|| !( isMapper( containingClass ) || isMapperConfig( containingClass ) ) ) {
return null;
}
PsiType targetType = TargetUtils.getRelevantType( method );
if ( targetType == null ) {
return null;
}
return targetType;
return TargetUtils.getRelevantType( method );
}
}

Expand Down

0 comments on commit 48b5188

Please sign in to comment.