8000 blobInfo.equals(BlobInfo.fromPb(blobInfo.toPb())) return false · Issue #184 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content

blobInfo.equals(BlobInfo.fromPb(blobInfo.toPb())) return false #184

@mziccard

Description

@mziccard

While testing StorageImpl I noticed that:

BlobInfo blobInfo = BlobInfo.of("b", "n");
assertEquals(blobInfo, BlobInfo.fromPb(blobInfo.toPb()));

Was failing.
Same problem also occurs with BucketInfo.
In BucketInfo the fromPb method also throws NPE under some circumstances:

BucketInfo bucketInfo = BucketInfo.of("b");
BucketInfo.fromPb(bucketInfo.toPb());

Metadata

Metadata

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0