Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

addModifiers(Iterable) for TypeSpec.Builder #841

Open
h908714124 opened this issue May 20, 2021 · 3 comments
Open

addModifiers(Iterable) for TypeSpec.Builder #841

h908714124 opened this issue May 20, 2021 · 3 comments

Comments

@h908714124
Copy link

h908714124 commented May 20, 2021

MethodSpec.Builder has two versions of the addModifiers method:

public Builder addModifiers(Modifier... modifiers) {...}
public Builder addModifiers(Iterable<Modifier> modifiers) {...}

but TypeSpec.Builder has only one of these.
This is counterintuitive.

@JakeWharton
Copy link
Collaborator

Yep, easy fix! Want to send a PR?

@h908714124
Copy link
Author

@JakeWharton thanks, I'll leave it to someone who has signed the CLA

@BigJIU
Copy link

BigJIU commented Apr 20, 2022

I have sent PR #873 , and just signed the CLA. Wish it could help.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants