• silenium_dev@etaorion.org
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    Fun fact: there’s a shorter way to throw a NullPointerException:

    throw null;
    

    Because throw throws a NPE if the parameter is null