Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EventHandler 实现类要触发 handleEvent 方法,只能直接实现接口,中间不能有抽象类。 #941

Open
cxntsh opened this issue Jun 12, 2024 · 3 comments
Labels
good first issue Good for newcomers

Comments

@cxntsh
Copy link

cxntsh commented Jun 12, 2024

Feature description

lQLPKH6kELeqNpXNAibNA2KwrEA_ead3i24GTnJi2fFYAA_866_550

可以看到判断逻辑,是直接通过反射判断是否是接口的实现类,这个可以优化一下,毕竟很多通用的逻辑还是要放到抽象类去实现的。

Additional notes

Add other notes if necessary.

@gaosaroma gaosaroma self-assigned this Jun 14, 2024
Copy link

This issue has been automatically marked as stale because it has not had recent activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue or help wanted) or other activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Jul 15, 2024
Copy link

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue or help wanted. Thank you for your contributions.

@lvjing2 lvjing2 reopened this Jul 23, 2024
@lvjing2
Copy link
Collaborator

lvjing2 commented Jul 23, 2024

可以的,欢迎提交 PR 优化呢

@lvjing2 lvjing2 added good first issue Good for newcomers and removed stale labels Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants