-
Notifications
You must be signed in to change notification settings - Fork 1.1k
blobInfo.toBuilder().build() is not equal to blobInfo #415
Copy link
Copy link
Closed
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Metadata
Metadata
Assignees
Labels
🚨This issue needs some love.This issue needs some love.api: storageIssues related to the Cloud Storage API.Issues related to the Cloud Storage API.triage meI really want to be triaged.I really want to be triaged.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
We have this situation:
This is due to the fact that
toBuilderuses builder's setters that initialize (some of them) fields toData.nullOf()ifnullis passed. This can be fixed by checking fornullbefore calling setters intoBuilder().