>From Michael Blow <[email protected]>:
Michael Blow has uploaded this change for review. (
https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20006 )
Change subject: [NO ISSUE][*DB][STO] Return null from readAllBytes() in no-op
client
......................................................................
[NO ISSUE][*DB][STO] Return null from readAllBytes() in no-op client
Ext-ref: MB-65877
Change-Id: I9642b1d32beb4ab93b0914a20c38ad1476abbab0
---
M
asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java
1 file changed, 11 insertions(+), 1 deletion(-)
git pull ssh://asterix-gerrit.ics.uci.edu:29418/asterixdb
refs/changes/06/20006/1
diff --git
a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java
b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java
index 8f37191..45dabeb 100644
---
a/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java
+++
b/asterixdb/asterix-cloud/src/main/java/org/apache/asterix/cloud/clients/NoopCloudClient.java
@@ -76,7 +76,7 @@
@Override
public byte[] readAllBytes(String bucket, String path) throws
HyracksDataException {
- return new byte[0];
+ return null;
}
@Override
--
To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/20006
To unsubscribe, or for help writing mail filters, visit
https://asterix-gerrit.ics.uci.edu/settings
Gerrit-Project: asterixdb
Gerrit-Branch: master
Gerrit-Change-Id: I9642b1d32beb4ab93b0914a20c38ad1476abbab0
Gerrit-Change-Number: 20006
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Blow <[email protected]>
Gerrit-MessageType: newchange