private boolean nullOrValue ( String test , String value ) { if ( test == null ) return true ; if ( test . equals ( value ) ) return true ; return false ; }
Test if a string is either null or equal to a certain value