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 GitHub
parent 5e71336ffb
commit a743b74bfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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