-
Notifications
You must be signed in to change notification settings - Fork 809
Rework sacrifice cost text #8830
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
base: master
Are you sure you want to change the base?
Conversation
| public static String complexTargetTypesToString(String types, boolean pluralize) { | ||
| String[] parts = types.split(";"); |
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 would do the split outside, because then we could use it for Valid that uses , as Split
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've made it so you can pass the split regex as parameter.
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.
The parameter types is only used to be split into String[] parts
wouldn't it be better to pass String[] parts directly as parameter?
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.
Good point. I'll change it next time.
|
This PR has not been updated in a while nad has been marked on stale. Stale PRs will be auto closed |
Working on #5916