21411 #2

Merged
francesco.mangiacrapa merged 7 commits from 21411 into master 2021-09-21 12:39:54 +02:00
1 changed files with 3 additions and 5 deletions
Showing only changes of commit 5fbf3e3091 - Show all commits

View File

@ -350,11 +350,9 @@ public class StorageIDResolver {
}
StorageClient client;
if(memory==null)
client=new StorageClient(StorageIDResolver.class.getName(), StorageIDResolver.class.getSimpleName(), STORAGEID_RESOLVER, AccessType.PUBLIC);
else
client=new StorageClient(StorageIDResolver.class.getName(), StorageIDResolver.class.getSimpleName(), STORAGEID_RESOLVER, AccessType.PUBLIC, memory);
if(memory==null)
memory=MemoryType.PERSISTENT;
client=new StorageClient(StorageIDResolver.class.getName(), StorageIDResolver.class.getSimpleName(), STORAGEID_RESOLVER, AccessType.PUBLIC, memory);
return new StorageClientInstance(client, memory, storageId);
}