Skip to content

Use Try-with-resources in Datastore samples #1248

Open
@jainsahab

Description

In #1246 Datastore instance holds resources which needs to be closed, For this reason we need to update all samples with try-with-resources

Metadata

Assignees

No one assigned

    Labels

    api: datastoreIssues related to the googleapis/java-datastore API.samplesIssues that are directly related to samples.type: cleanupAn internal cleanup or hygiene concern.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions