Skip to content

Commit 2b9f530

Browse files
charlesliqlogicchingor13
authored andcommitted
Fixed cannot call public methods in via reflection (#4249)
* modified package-private to public * update format for storage/Option.java
1 parent b7c1878 commit 2b9f530

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/BasePath.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
* BasePath represents a path sequence in the Firestore database. It is composed of an ordered
2626
* sequence of string segments.
2727
*/
28-
abstract class BasePath<B extends BasePath<B>> implements Comparable<B> {
28+
public abstract class BasePath<B extends BasePath<B>> implements Comparable<B> {
2929

3030
/**
3131
* Returns the segments that make up this path.

google-cloud-clients/google-cloud-firestore/src/main/java/com/google/cloud/firestore/UpdateBuilder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
* Abstract class that collects and bundles all write operations for {@link Transaction} and {@link
4444
* WriteBatch}.
4545
*/
46-
abstract class UpdateBuilder<T extends UpdateBuilder> {
46+
public abstract class UpdateBuilder<T extends UpdateBuilder> {
4747

4848
private static class Mutation {
4949
Write.Builder document;

google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Option.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
import java.util.Objects;
2525

2626
/** Base class for Storage operation option. */
27-
abstract class Option implements Serializable {
27+
public abstract class Option implements Serializable {
2828

2929
private static final long serialVersionUID = -73199088766477208L;
3030

0 commit comments

Comments
 (0)