[EMAIL PROTECTED] wrote:
>  Project      sipXecs
> New Revision  13584
> <http://sipxecs.sipfoundry.org/ViewVC/sipXecs?view=rev&rev=13584>
> Committer     jattardi (Joe Attardi)
> Date  2008-10-02 16:15:37 -0400 (Thu, 02 Oct 2008)
> 
> 
>     Log
> 
> 
>  Removed use of String.isEmpty() as this is a Java 1.6 specific method. Sorry 
> about that!
>  
>  
> 
> 


In cases when you need to return placeholder if rawValue is empty or null use:

return StringUtils.defaultIfEmpty(rawValue, placehoder);

from org.apache.commons.lang

D.





_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to