Coverage Report - org.webslinger.lang.ObjectUtil
 
Classes in this File Line Coverage Branch Coverage Complexity
ObjectUtil
0%
0/7
0%
0/3
2.333
 
 1  
 package org.webslinger.lang;
 2  
 
 3  
 public final class ObjectUtil {
 4  0
     private ObjectUtil() {
 5  0
     }
 6  
 
 7  
     public static boolean equalsHelper(Object o1, Object o2) {
 8  0
         if (o1 == null) {
 9  0
             if (o2 == null) return true;
 10  0
             return o2.equals(o1);
 11  
         } else {
 12  0
             return o1.equals(o2);
 13  
         }
 14  
     }
 15  
 
 16  
     public static int hashCodeHelper(Object o) {
 17  0
         return o == null ? 0 : o.hashCode();
 18  
     }
 19  
 }