It says in method:
private void loadValue(String value) {
int doubleColons = value.indexOf("::");
// Check for root segment
if (doubleColons == 0) {
throw new IllegalArgumentException("bad format, missing root");
}
If there is no "::" value.indexof returns -1 instead of 0, which makes
the exception is never thrown