public Affinity getAffinity(Customer customer) {
        Affinity affinity = affinityMap.get(customer);
        if (affinity == null) {
            affinity = Affinity.NONE;
        }
        return affinity;
    }
public Affinity getAffinity ( Customer customer ) { Affinity affinity = affinityMap . get ( customer ) ; if ( affinity == null ) { affinity = Affinity . NONE ; } return affinity ; }
@param customer never null
@return never null