Remove not needed null check (#11303)

Motivation:

throw exception if there is no method, it never is null, condition is always true

Modification:

remove unnecessary condition

Result:

cleanup
This commit is contained in:
wuare 2021-05-26 21:11:27 +08:00 committed by Norman Maurer
parent 9d01814a3b
commit 7a1e0b46b6

View File

@ -180,7 +180,7 @@ final class ChannelHandlerMask {
} }
return false; return false;
} }
return m != null && m.isAnnotationPresent(Skip.class); return m.isAnnotationPresent(Skip.class);
}); });
} }