diff options
author | Robin Burchell <robin+git@viroteck.net> | 2012-07-01 21:34:18 +0200 |
---|---|---|
committer | Robin Burchell <robin+git@viroteck.net> | 2012-07-01 21:35:32 +0200 |
commit | 972af12415addb1b5d72708af5d98bd4bd1bd47a (patch) | |
tree | ba14b1e483b8f996edd4765794a38517ee108afc /make/template | |
parent | 9475a10a86c6c2e8575366f6e0c9b28b66a97698 (diff) |
Don't throw an exception if passed bad parameters to stringjoiner.
It's far too common to "misuse" this API by accidentally trying to use
stringjoiner with an empty container, and fixing that is more or less adding
boilerplate in every place we fix it.
Instead, let's just return and not touch the string, and not throw.
Done-with: Attila Molnar <attilamolnar@hush.com>
Diffstat (limited to 'make/template')
0 files changed, 0 insertions, 0 deletions