Merge pull request #1134 from tommagnusson/patch-1

fix typo in ConstructorConstructor exception
This commit is contained in:
Jake Wharton 2017-08-03 10:56:25 -04:00 committed by GitHub
commit afcb3815d9

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);
}
}
};