@@ -126,13 +126,13 @@ public List<Key> allocateId(IncompleteKey... keys) {
126126 }
127127 DatastoreV1 .AllocateIdsRequest .Builder requestPb = DatastoreV1 .AllocateIdsRequest .newBuilder ();
128128 for (IncompleteKey key : keys ) {
129- // TODO(ajaykannan): uncomment when possible in datastore v1beta3 transition
129+ // TODO(ajaykannan): fix me!
130130 //requestPb.addKey(trimNameOrId(key).toPb());
131131 }
132132 DatastoreV1 .AllocateIdsResponse responsePb = allocateIds (requestPb .build ());
133133 ImmutableList .Builder <Key > keyList = ImmutableList .builder ();
134134 for (DatastoreV1 .Key keyPb : responsePb .getKeyList ()) {
135- // TODO(ajaykannan): uncomment when possible in datastore v1beta3 transition
135+ // TODO(ajaykannan): fix me!
136136 // keyList.add(Key.fromPb(keyPb));
137137 }
138138 return keyList .build ();
@@ -195,7 +195,7 @@ public List<Entity> add(FullEntity<?>... entities) {
195195 if (completeEntity != null ) {
196196 responseBuilder .add (completeEntity );
197197 } else {
198- // TODO(ajaykannan): uncomment when possible in datastore v1beta3 transition
198+ // TODO(ajaykannan): fix me!
199199 //responseBuilder.add(Entity.builder(Key.fromPb(allocatedKeys.next()), entity).build());
200200 }
201201 }
@@ -226,7 +226,7 @@ Iterator<Entity> get(DatastoreV1.ReadOptions readOptionsPb, final Key... keys) {
226226 requestPb .setReadOptions (readOptionsPb );
227227 }
228228 for (Key k : Sets .newLinkedHashSet (Arrays .asList (keys ))) {
229- // TODO(ajaykannan): uncomment when possible in datastore v1beta3 transition
229+ // TODO(ajaykannan): fix me!
230230 //requestPb.addKey(k.toPb());
231231 }
232232 return new ResultsIterator (requestPb );
@@ -314,7 +314,7 @@ public void delete(Key... keys) {
314314 DatastoreV1 .Mutation .Builder mutationPb = DatastoreV1 .Mutation .newBuilder ();
315315 Set <Key > dedupKeys = new LinkedHashSet <>(Arrays .asList (keys ));
316316 for (Key key : dedupKeys ) {
317- // TODO(ajaykannan): uncomment when possible in datastore v1beta3 transition
317+ // TODO(ajaykannan): fix me!
318318 //mutationPb.addDelete(key.toPb());
319319 }
320320 commitMutation (mutationPb );
0 commit comments