@Test public void isClassifierValidShouldReturnFalseIfClassifierIsNull() { assertThat( EjbHelper.isClassifierValid( null ) ).isFalse(); }
public static boolean isClassifierValid( String classifier ) { boolean result = false; if ( hasClassifier( classifier ) && classifier.matches( "^[a-zA-Z]+[0-9a-zA-Z\\-]*" ) ) { result = true; } return result; }
EjbHelper { public static boolean isClassifierValid( String classifier ) { boolean result = false; if ( hasClassifier( classifier ) && classifier.matches( "^[a-zA-Z]+[0-9a-zA-Z\\-]*" ) ) { result = true; } return result; } }
EjbHelper { public static boolean isClassifierValid( String classifier ) { boolean result = false; if ( hasClassifier( classifier ) && classifier.matches( "^[a-zA-Z]+[0-9a-zA-Z\\-]*" ) ) { result = true; } return result; } private  EjbHelper(); }
EjbHelper { public static boolean isClassifierValid( String classifier ) { boolean result = false; if ( hasClassifier( classifier ) && classifier.matches( "^[a-zA-Z]+[0-9a-zA-Z\\-]*" ) ) { result = true; } return result; } private  EjbHelper(); static boolean isClassifierValid( String classifier ); static boolean hasClassifier( String classifier ); static File getJarFile( File basedir, String finalName, String classifier ); }
EjbHelper { public static boolean isClassifierValid( String classifier ) { boolean result = false; if ( hasClassifier( classifier ) && classifier.matches( "^[a-zA-Z]+[0-9a-zA-Z\\-]*" ) ) { result = true; } return result; } private  EjbHelper(); static boolean isClassifierValid( String classifier ); static boolean hasClassifier( String classifier ); static File getJarFile( File basedir, String finalName, String classifier );  }