public static String checkNonEmptyString ( final String reference , final String errorMessage ) { return precondition ( reference , Predicates . notEmptyString ( ) , IllegalArgumentException . class , errorMessage ) ; }
Check that a String is not empty after removing whitespace .