-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
2.x: Remove some dead code #4581
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
@@ -28,6 +28,7 @@ | |||
@Retention(RetentionPolicy.RUNTIME) | |||
@Documented | |||
@Target({ElementType.METHOD, ElementType.TYPE}) | |||
@SuppressWarnings("unused") // Part of Public API. | |||
public @interface SchedulerSupport { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess IntelliJ complains about this? Now Eclipse will.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well IO
& NEW_THREAD
are unused since they are not used internally. However they're part of the public API so I suppressed that warning that they're not used. Why will Eclipse complain about this one?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because it doesn't see anything, like a private method that is not in use.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh that's really bad. You want me to remove this one or leave it as is?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Current coverage is 78.01% (diff: 100%)@@ 2.x #4581 diff @@
==========================================
Files 552 552
Lines 36164 36156 -8
Methods 0 0
Messages 0 0
Branches 5575 5574 -1
==========================================
- Hits 28215 28208 -7
+ Misses 5934 5929 -5
- Partials 2015 2019 +4
|
Also what about IntFunction it's right now in the public API however not used. So the question is does Rx want to expose that interface?