class MultiLevelMetadataCallback implements GetCompletionCallback {
private final boolean persistent;
MultiLevelMetadataCallback() {
this.persistent = SingleFileFetcher.this.persistent;
}
<BUG>public void onSuccess(FetchResult result, ClientGetState state, ObjectContainer container, ClientContext context) {
if(persistent)

container.activate(SingleFileFetcher.this, 1);

try {</BUG>
Metadata meta = Metadata.construct(result.asBucket());

class MultiLevelMetadataCallback implements GetCompletionCallback {
private final boolean persistent;
MultiLevelMetadataCallback() {
this.persistent = SingleFileFetcher.this.persistent;
}
public void onSuccess(FetchResult result, ClientGetState state, ObjectContainer container, ClientContext context) {
boolean wasActive = true;
if(persistent) {
wasActive = container.ext().isActive(SingleFileFetcher.this);
container.activate(SingleFileFetcher.this, 1);
}
try {
Metadata meta = Metadata.construct(result.asBucket());
