Skip to content

Conversation

@SiebelsTim
Copy link
Contributor

this should not change the API, but makes it easier to use.
Especially for cases like wanting to count for one specific value,
resulting in a where with only one or a few args.
Currently we need to create a String array for that, resulting in a
ugly new String[]{"bla"} block.
Now it is possible to directly pass "bla"

count was the motivation for this change, but I changed other signatures
where this was possible as well.

this should not change the API, but makes it easier to use.
Especially for cases like wanting to count for one specific value,
resulting in a where with only one or a few args.
Currently we need to create a String array for that, resulting in a
ugly new String[]{"bla"} block.
Now it is possible to directly pass "bla"

count was the motivation for this change, but I changed other signatures
where this was possible as well.
@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @dominicwong617, @JonatanSalas and @whoshuu to be potential reviewers

@coveralls
Copy link

Coverage Status

Coverage remained the same at 72.454% when pulling dabff00 on SiebelsTim:improve-api into ce7d802 on satyan:master.

@sibelius
Copy link
Contributor

can u create a method overload so we can keep both versions (the old and the new one) ?

@SiebelsTim
Copy link
Contributor Author

@sibelius We do. This does not break backwards compatibility.
Varargs allows to pass multiple arguments or an array.

@sibelius
Copy link
Contributor

Great to know I will test ur branch and I will merge it

@sibelius sibelius merged commit ca5dd14 into chennaione:master Sep 2, 2016
@sibelius
Copy link
Contributor

sibelius commented Sep 2, 2016

sorry for the long time to merge it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants