u = key.getURI();
if(gotFinalMetadata) {
Logger.error(this, "Generated URI *and* sent final metadata??? on "+this+" from "+state);
}
if(targetFilename != null)
u = u.pushMetaString(targetFilename);
if(this.uri != null) {
if(!this.uri.equals(u)) {
Logger.error(this, "onEncode() called twice with different URIs: "+this.uri+" -> "+u+" for "+this, new Exception("error"));
}
return;