Skip to content

Commit a98d096

Browse files
author
Ajay Kannan
committed
remove extra firstNonNull in KeyFactory
1 parent 02a56a8 commit a98d096

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • gcloud-java-datastore/src/main/java/com/google/gcloud/datastore

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
package com.google.gcloud.datastore;
1818

19-
import com.google.common.base.MoreObjects;
2019
import com.google.common.collect.ImmutableList;
2120

2221
/**
@@ -36,7 +35,7 @@ public KeyFactory(String projectId, String namespace) {
3635
super(projectId);
3736
namespace(namespace);
3837
this.pi = projectId;
39-
this.ns = MoreObjects.firstNonNull(namespace, "");
38+
this.ns = namespace;
4039
}
4140

4241
public IncompleteKey newKey() {

0 commit comments

Comments
 (0)