There was no validation when a required field was null, creating crash and null pointer exception further down the line in the business code. Now, it throws a InvalidArgumentException. (#6673)

This commit is contained in:
Jean-François Côté
2017-10-16 09:23:05 -04:00
committed by wing328
parent 619c391be9
commit 8b70f24371
39 changed files with 747 additions and 425 deletions

View File

@@ -6,6 +6,7 @@ public class Module extends AbstractModule {
@Override
protected void configure() {
bind(AnotherFakeApiControllerImpInterface.class).to(AnotherFakeApiControllerImp.class);
bind(FakeApiControllerImpInterface.class).to(FakeApiControllerImp.class);
bind(FakeClassnameTags123ApiControllerImpInterface.class).to(FakeClassnameTags123ApiControllerImp.class);
bind(PetApiControllerImpInterface.class).to(PetApiControllerImp.class);