Fix typo in exception message

This commit is contained in:
Robin Windey 2021-11-16 11:11:28 +01:00 committed by Hynek Mlnařík
parent bf135c86ba
commit eaf7c515f2

View File

@ -228,7 +228,7 @@ public abstract class AbstractStorageManager<ProviderType extends Provider,
instance = factory.create(session, model);
if (instance == null) {
throw new IllegalStateException("StorageProvideFactory (of type " + factory.getClass().getName() + ") produced a null instance");
throw new IllegalStateException("StorageProviderFactory (of type " + factory.getClass().getName() + ") produced a null instance");
}
session.enlistForClose(instance);
session.setAttribute(model.getId(), instance);