Github user britter commented on a diff in the pull request:
https://github.com/apache/commons-lang/pull/84#discussion_r29735276
--- Diff: src/main/java/org/apache/commons/lang3/StringUtils.java ---
@@ -4196,7 +4196,8 @@ public static String join(final Iterable<?> iterable,
final String separator) {
* @return the joined String.
* @throws java.lang.IllegalArgumentException if a null varargs is
provided
*/
- public static String joinWith(final String separator, final Object...
objects) {
+ @SuppressWarnings("deprecation")
--- End diff --
It's better to keep the scope of this annotation as small as possible. I'd
rather assign the result of {{ObjectUtils.toString(iterator.next())}} and add
the annotation there.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---