-
Notifications
You must be signed in to change notification settings - Fork 24
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
cleanup: protected
*and* deprecated
methods
#223
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.
Deleting protected methods would be a breaking change. Perhaps we can create a v2 working branch and make these changes there?
Sure! Could you create it please 🙏 ? I'll change the target branch of this PR once it is created. Should I move the change of the examples location to that branch too? It is also a potential breaking change since those public classes won't be in the jar. |
Actually, an alternative would be to change the version number in |
Sure I can! I was thinking of doing some more breaking changes related to the
Additionally, after doing this changes, the revapi library can be added so that whenever a commit is added that brakes API/ABI compatibility, the build fails. There is a blog post on how it works. What do you think? |
Agreed, if we declare that |
…break clients using this non-public api
…ients using this non-public api
…nnel. Could break clients using this non-public api
08e15f5
to
b12ba0c
Compare
If you include a commit in this PR that includes a change in |
I'll add a commit on this PR later today 👍 |
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 noticed that something has happened with the "WalkFromRoot" and "ListPrefix" examples. They no longer produce output. Not sure if this is due to some changes with the restructuring of packages or the S3FileSystemProvider?
🤔 I'll take a look 👀 Are you running it via the IDE against an S3 account? |
Yes, running against a real bucket |
Found the reason, it is related to #202, I forgot to add the project as a dependency of |
Thanks. It's possible they have been broken a while independently of this change and I didn't notice because they still exited without an error. I was thinking that they should perhaps be changed to make them more "normal" in their use of filesystems rather than explicitly calling "S3" implementation classes. |
Agreed, let's make it an Regarding the current implementation, there is an issue with |
Description of changes:
Cleans up some
protected
andDeprecated
methods. As with #202, it may break clients using this library that expect these methods to be there. Therefore, either they can be contemplated for a 2.0 release, or alternatively with a disclaimer in a 1.X release.The changes remove 56 javadoc warnings during compilation of the project, as well as increasing coverage a bit:
Before:
After:
Before:
After:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.