ChangeNotes: Mark readOneReviewDbChange @Nullable

Change-Id: Ia46d631b74bd3ad7de0d25ea8204e50f49df61ed
This commit is contained in:
Dave Borowitz
2017-04-04 11:32:17 -04:00
parent 1889c3f06d
commit 28dd2ae37c

View File

@@ -95,6 +95,7 @@ public class ChangeNotes extends AbstractChangeNotes<ChangeNotes> {
return new ConfigInvalidException("Change " + changeId + ": " + String.format(fmt, args));
}
@Nullable
public static Change readOneReviewDbChange(ReviewDb db, Change.Id id) throws OrmException {
return ReviewDbUtil.unwrapDb(db).changes().get(id);
}