Address now logs an error if given bad arguments (#2897)

This commit is contained in:
Joshua Nelson 2017-11-10 12:09:25 -05:00 committed by cketti
parent 3fdb5f532f
commit aa4fb26f8f

View file

@ -64,7 +64,7 @@ public class Address implements Serializable {
mPersonal = (personal == null) ? null : personal.trim();
}
} else {
// This should be an error
Timber.e("Invalid address: %s", address);
}
} else {
mAddress = address;