From 8c645db3cd117691c8fccc46103876ee15a3ffa4 Mon Sep 17 00:00:00 2001 From: Andrew Sung Date: Mon, 10 Aug 2020 16:32:47 -0400 Subject: [PATCH] Revert "Fixes as file backend API changes." This reverts commit aea7eeb44dffd8dc14126e54d1031ff78fd0a3f7. --- src/main/java/gyro/azure/CloudBlobContainerFileBackend.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/gyro/azure/CloudBlobContainerFileBackend.java b/src/main/java/gyro/azure/CloudBlobContainerFileBackend.java index 3ec50f67..51b2e1d1 100644 --- a/src/main/java/gyro/azure/CloudBlobContainerFileBackend.java +++ b/src/main/java/gyro/azure/CloudBlobContainerFileBackend.java @@ -38,7 +38,6 @@ import com.psddev.dari.util.StringUtils; import gyro.azure.storage.StorageAccountResource; import gyro.core.FileBackend; -import gyro.core.FileBackendAccess; import gyro.core.GyroCore; import gyro.core.GyroException; import gyro.core.Type; @@ -116,7 +115,7 @@ public InputStream openInput(String file) throws Exception { } @Override - public OutputStream openOutput(String file, FileBackendAccess acl) throws Exception { + public OutputStream openOutput(String file) throws Exception { return getBlockBlobReference(file).openOutputStream(); } @@ -131,7 +130,7 @@ public boolean exists(String file) throws Exception { } @Override - public void copy(String source, String destination, FileBackendAccess acl) throws Exception { + public void copy(String source, String destination) throws Exception { CloudBlockBlob target = getBlockBlobReference(destination); target.startCopy(getBlockBlobReference(source));