-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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
ZOOKEEPER-3835: Deprecate IOUtils copyBytes #1357
base: master
Are you sure you want to change the base?
Conversation
094bec2
to
017094e
Compare
That's unfortunate that I can't deprecate things. |
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 is still used in ClientBase, and deprecated, if not supressed, is set to trigger build failure.
@@ -68,6 +68,7 @@ public static void cleanup(Logger log, Closeable... closeables) { | |||
|
|||
/** | |||
* Copies from one stream to another. | |||
* Deprecated. No longer used in ZK. |
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.
If it's deprecated, it should use the @Deprecated
annotation, and have a useful @deprecated
javadoc message for any current callers.
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.
To get past the build problems, just suppress the warning wherever it must still be used internally... or replace internal calls with whatever is replacing this.
Related to #1357 Author: David Mollitor <[email protected]> Reviewers: Enrico Olivelli <[email protected]>, Norbert Kalmar <[email protected]> Closes #1358 from belugabehr/ZOOKEEPER-3836
Related to apache#1357 Author: David Mollitor <[email protected]> Reviewers: Enrico Olivelli <[email protected]>, Norbert Kalmar <[email protected]> Closes apache#1358 from belugabehr/ZOOKEEPER-3836
Related to apache#1357 Author: David Mollitor <[email protected]> Reviewers: Enrico Olivelli <[email protected]>, Norbert Kalmar <[email protected]> Closes apache#1358 from belugabehr/ZOOKEEPER-3836
Related to apache#1357 Author: David Mollitor <[email protected]> Reviewers: Enrico Olivelli <[email protected]>, Norbert Kalmar <[email protected]> Closes apache#1358 from belugabehr/ZOOKEEPER-3836
Related to apache#1357 Author: David Mollitor <[email protected]> Reviewers: Enrico Olivelli <[email protected]>, Norbert Kalmar <[email protected]> Closes apache#1358 from belugabehr/ZOOKEEPER-3836
No description provided.