We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c305837 commit e89dce0Copy full SHA for e89dce0
dumper/app/src/main/java/com/google/edwmigration/dumper/application/dumper/connector/Connector.java
@@ -61,8 +61,7 @@ static void validateDateRange(@Nonnull ConnectorArguments arguments) {
61
if (start == null && end == null) {
62
return;
63
}
64
- checkState(
65
- start != null, "End date can be specified only with start date, but start date was null.");
+ checkNotNull(start, "End date can be specified only with start date, but start date was null.");
66
// The assignment makes 'end' recognized as @Nonnull.
67
end = checkNotNull(end, "End date must be specified with start date, but was null.");
68
0 commit comments