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

Inline Guava's Iterators#limit #216

Merged
merged 1 commit into from
May 6, 2021
Merged

Inline Guava's Iterators#limit #216

merged 1 commit into from
May 6, 2021

Conversation

basil
Copy link
Member

@basil basil commented Apr 26, 2021

A subset of #213 that is hopefully non-controversial and safe to land in the short term because it does not involve Caffeine or shading.

Copy link
Member

@jglick jglick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems OK though I am unsure of the policy for inlining APL code into what is otherwise a BSD-2-Clause module. I would be inclined to just rewrite this one usage as I suspect that given the Javadoc any competent Java programmer could reimplement it (and we presumably do not even need all of it, like remove and IllegalArgumentException, just the very basic functionality).

@basil
Copy link
Member Author

basil commented Apr 26, 2021

I really don't think this is an issue, but if someone wants to reimplement this then feel free.

@jglick
Copy link
Member

jglick commented Apr 26, 2021

FYI @jtnord

@timja
Copy link
Member

timja commented May 6, 2021

As long as the license header is kept intact it would be ok I expect?

@jglick jglick merged commit d19d6e3 into jenkinsci:master May 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants