Skip to content

Commit 0dbfe2a

Browse files
authored
chore: small refactor/cleanup in KeyFactory (#942)
* chore: small refactor/cleanup in KeyFactory * fix
1 parent 8231d27 commit 0dbfe2a

File tree

1 file changed

+1
-5
lines changed
  • google-cloud-datastore/src/main/java/com/google/cloud/datastore

1 file changed

+1
-5
lines changed

google-cloud-datastore/src/main/java/com/google/cloud/datastore/KeyFactory.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,7 @@ public KeyFactory(String projectId) {
3333
}
3434

3535
public KeyFactory(String projectId, String namespace) {
36-
super(projectId);
37-
setNamespace(namespace);
38-
this.initialProjectId = projectId;
39-
this.initialNamespace = namespace;
40-
this.initialDatabaseId = "";
36+
this(projectId, namespace, "");
4137
}
4238

4339
public KeyFactory(String projectId, String namespace, String databaseId) {

0 commit comments

Comments
 (0)