Coverage Report - net.sf.statcvs.util.StringUtils
 
Classes in this File Line Coverage Branch Coverage Complexity
StringUtils
33%
1/3
25%
1/4
1
 
 1  
 /**
 2  
  * 
 3  
  */
 4  
 package net.sf.statcvs.util;
 5  
 
 6  
 /**
 7  
  * @author xhensevalb
 8  
  *
 9  
  */
 10  
 public final class StringUtils {
 11  0
     private StringUtils() {
 12  0
     }
 13  
 
 14  
     /**
 15  
      * @return true if txt !=null and not empty.
 16  
      */
 17  
     public static boolean isNotEmpty(final String txt) {
 18  150
         return txt != null && txt.trim().length() > 0;
 19  
     }
 20  
 }