File tree 2 files changed +2
-8
lines changed
sdks/java/io/google-cloud-platform/src
main/java/org/apache/beam/sdk/io/gcp/datastore
test/java/org/apache/beam/sdk/io/gcp/datastore
2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -2041,10 +2041,7 @@ public Datastore getDatastore(
2041
2041
}
2042
2042
2043
2043
DatastoreOptions .Builder builder =
2044
- new DatastoreOptions .Builder ()
2045
- .projectId (projectId )
2046
- .databaseId (databaseId )
2047
- .initializer (initializer );
2044
+ new DatastoreOptions .Builder ().projectId (projectId ).initializer (initializer );
2048
2045
2049
2046
if (localhost != null ) {
2050
2047
builder .localHost (localhost );
Original file line number Diff line number Diff line change @@ -151,10 +151,7 @@ static Datastore getDatastore(
151
151
}
152
152
153
153
DatastoreOptions .Builder builder =
154
- new DatastoreOptions .Builder ()
155
- .projectId (projectId )
156
- .databaseId (databaseId )
157
- .initializer (initializer );
154
+ new DatastoreOptions .Builder ().projectId (projectId ).initializer (initializer );
158
155
159
156
return DatastoreFactory .get ().create (builder .build ());
160
157
}
You can’t perform that action at this time.
0 commit comments