String namespace = readCodedString();
String revision = Strings.emptyToNull(readCodedString());
- return QNameFactory.create(new QNameFactory.Key(localName, namespace, revision));
+ return QNameFactory.create(localName, namespace, revision);
}
-
- private String readCodedString() throws IOException {
+ final String readCodedString() throws IOException {
final byte valueType = input.readByte();
switch (valueType) {
case TokenTypes.IS_NULL_VALUE:
return new AugmentationIdentifier(readQNameSet());
}
- private NodeIdentifier readNodeIdentifier() throws IOException {
- // FIXME: we should have a cache for these, too
+ NodeIdentifier readNodeIdentifier() throws IOException {
return new NodeIdentifier(readQName());
}