GitHub user ijuma opened a pull request:
https://github.com/apache/kafka/pull/1153
MINOR: Remove a couple of redundant `CoreUtils.rm` methods
Also:
* Rename remaining `CoreUtils.rm` to `delete` for consistency
* Use `try with resources` in `Utils` to simplify code
* Silence compiler warning due to exception catch clause in `TestUtils`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ijuma/kafka remove-redundant-core-utils-rm
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/1153.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1153
----
commit b9cb8d24ed527d9bc3d330c7362511b9feaa578a
Author: Ismael Juma <[email protected]>
Date: 2016-03-28T08:44:08Z
Remove a couple of `CoreUtils.rm` methods
Use `Utils.delete` instead.
commit 5554d5fa22b228526027ca6f353334f21ac9d973
Author: Ismael Juma <[email protected]>
Date: 2016-03-28T08:48:20Z
Rename remaining `CoreUtils.rm` to `delete` for consistency
commit 6e9cddc230b7bcb021d3791722fe2af0916fad2e
Author: Ismael Juma <[email protected]>
Date: 2016-03-28T08:53:33Z
Use try with resources in `Utils`
commit 13b42c21ce6a039d238443aa970048045dfb9f67
Author: Ismael Juma <[email protected]>
Date: 2016-03-28T08:54:27Z
Silence compiler warning by adding `: Throwable` to catch clause
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---