empty() return a non-null instance and we do not need this. qualifier.
Change-Id: Id68f55c795aaf6ff14a4d3b4920667da1b103743
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
@Override
StatementMap put(final int index, final AbstractResumedStatement<?, ?, ?> obj) {
checkArgument(index != 0);
- return new Regular(this.object, index, obj);
+ return new Regular(object, index, obj);
}
@Override
}
}
- private static final StatementMap EMPTY = new Empty();
+ private static final @NonNull StatementMap EMPTY = new Empty();
- static StatementMap empty() {
+ static @NonNull StatementMap empty() {
return EMPTY;
}