private boolean isNullOrEmpty ( Object paramValue ) { boolean isNullOrEmpty = false ; if ( paramValue == null ) { isNullOrEmpty = true ; } if ( paramValue instanceof String ) { if ( ( ( String ) paramValue ) . trim ( ) . equalsIgnoreCase ( "" ) ) { isNullOrEmpty = true ; } } else if ( paramValue instanceof List ) { return ( ( List ) paramValue ) . isEmpty ( ) ; } return isNullOrEmpty ; }
Checks String to see if the parameter is null .