Sonar complains that I have too many return statements. How can I reduce the return statement count nicely?public int compare(Sku o1, Sku o2) {    if (o1 == null) {        return (o2 == null) ? 0 : 1;    } else if (o2 == null) {        return -1;    }    if (o1.getSkuNumber() == null) {        return o2.getSkuNumber() == null ? 0 : 1;    } else if (o2.getSkuNumber() == null) {        return -1;    }    return o1.getSkuNumber().compareTo(o2.getSkuNumber());}
Comparing SKU numbers
java