fix typo in ConstructorConstructor exception

This commit is contained in:
Tom Magnusson 2017-08-03 09:28:31 -04:00 committed by GitHub
parent 03a72e752e
commit 68cf8fdc95

View File

@ -224,7 +224,7 @@ public final class ConstructorConstructor {
return (T) newInstance;
} catch (Exception e) {
throw new RuntimeException(("Unable to invoke no-args constructor for " + type + ". "
+ "Register an InstanceCreator with Gson for this type may fix this problem."), e);
+ "Registering an InstanceCreator with Gson for this type may fix this problem."), e);
}
}
};