case LINK_DOCUMENT:
record.newDocumentLink();
break;
+ default:
+ throw new IllegalArgumentException("Invalid type: " + type);
}
}
}
delimiterPos = i;
}
+ // fall through
default:
- continue;
+ continue; //continue the for-loop
case SPECIAL_NAME_DELIMITER:
- // fall through
+ break;
}
if(!insideDelimitedName) {
insideDelimitedName = true;
current=new HyperlinkProperty(value);
break;
}
+ default:
+ {
+ throw new IllegalArgumentException("Invalid type: " + type);
+ }
}
if(previous!=null)
{