context.random.nextBytes(cryptoKey);
}
if(!cancel) {
if(!binaryBlob) {
ClientMetadata meta = cm;
if(meta != null) meta = persistent() ? meta.clone() : meta;
currentState =
new SingleFileInserter(this, this, new InsertBlock(data, meta, targetURI), isMetadata, ctx, realTimeFlag,
false, false, null, null, false, targetFilename, false, persistent(), 0, 0, null, cryptoAlgorithm, cryptoKey, metadataThreshold);
} else
currentState =