io.continual.util.checks.Strings Maven / Gradle / Ivy
package io.continual.util.checks;
public class Strings
{
private Strings(){
}
public static void throwIfEmpty ( String s, String msg )
{
if ( s == null || s.length () == 0 )
{
throw new IllegalArgumentException ( msg );
}
}
}