URI.getArgument() will return null if and only if URI.getRawArgument() returns null. Same for the empty string.
The raw methods avoids additional volatile loads, thus it's easy to infer that in cases where we only check that a URI argument, query or fragment isn't null it's semantically correct and more efficient to use the raw version.
The raw methods avoids additional volatile loads, thus it's easy to infer that in cases where we only check that a URI argument, query or fragment isn't null it's semantically correct and more efficient to use the raw version.