Skip to content

Commit

Permalink
Fix get order of meta and data in MockObjectStore.java
Browse files Browse the repository at this point in the history
  • Loading branch information
guoyuhong committed Mar 8, 2019
1 parent 6d4773b commit c7a3385
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public byte[] get(byte[] objectId, int timeoutMs, boolean isMetadata) {
public List<byte[]> get(byte[][] objectIds, int timeoutMs, boolean isMetadata) {
return get(objectIds, timeoutMs)
.stream()
.map(data -> isMetadata ? data.data : data.metadata)
.map(data -> isMetadata ? data.metadata : data.data)
.collect(Collectors.toList());
}

Expand Down

0 comments on commit c7a3385

Please sign in to comment.