Open pdowler opened 4 years ago
StorageMetadata constructor now checks that contentLength > 0.
StorageAdapter.put() specifies that zero-length files are not allowed ( IllegalArgumentException). Implementations must throw and should auto-cleanup if possible.
cadc-storage-adapter-test-0.4.1 includes a test for this; currently active adapters pass.
StorageMetadata constructor now checks that contentLength > 0.
StorageAdapter.put() specifies that zero-length files are not allowed ( IllegalArgumentException). Implementations must throw and should auto-cleanup if possible.