Don't open DataSink if resolved length is 0
- It's wasted effort - DataSpec reconstruction fails because creating a DataSpec with 0 length isn't allowed. - Also better document DataSink open/close, to be like DataSource. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=194778132
Showing
with
39 additions
and
12 deletions
Please
register
or
sign in
to comment