Skip to content

Conversation

akalexus
Copy link

Add method to enhance joins with filtering and deduplicating delimiters:

  • joinNotEmptyWith
  • joinNotBlankWith

assertEquals("", StringUtils.joinNotBlankWith(",", (Object[]) NULL_ARRAY_LIST));
assertEquals("", StringUtils.joinNotBlankWith(",", NULL_TO_STRING_LIST));

/*
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this comment, pls

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

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.

1 participant