Skip to content

Commit

Permalink
chore: make Partition class getters public (#2195)
Browse files Browse the repository at this point in the history
Make getters in Partition class public so that they can be accessed outside com.google.cloud.spanner package.
  • Loading branch information
rajatbhatta committed Dec 13, 2022
1 parent 22ae0ed commit 940e2b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@ implementation 'com.google.cloud:google-cloud-spanner'
If you are using Gradle without BOM, add this to your dependencies:

```Groovy
implementation 'com.google.cloud:google-cloud-spanner:6.33.0'
implementation 'com.google.cloud:google-cloud-spanner:6.34.0'
```

If you are using SBT, add this to your dependencies:

```Scala
libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.33.0"
libraryDependencies += "com.google.cloud" % "google-cloud-spanner" % "6.34.0"
```

## Authentication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ static Partition createQueryPartition(
return new Partition(partitionToken, partitionOptions, statement, queryOption);
}

ByteString getPartitionToken() {
public ByteString getPartitionToken() {
return partitionToken;
}

Expand Down

0 comments on commit 940e2b6

Please sign in to comment.