mirror of
https://github.com/shekhargulati/strman-java.git
synced 2026-10-06 11:33:58 +00:00
added appendArray function
This commit is contained in:
@@ -16,6 +16,10 @@ public interface Strman {
|
||||
* @return full string
|
||||
*/
|
||||
static String append(final String value, final String... appends) throws IllegalArgumentException {
|
||||
return appendArray(value, appends);
|
||||
}
|
||||
|
||||
static String appendArray(String value, String[] appends) {
|
||||
if (value == null) {
|
||||
throw new IllegalArgumentException("'value' should be not null.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user