From 1cadaf759b4b688e357d0233ae538c08249af708 Mon Sep 17 00:00:00 2001 From: Gabor Kovacs Date: Tue, 10 Oct 2023 22:17:15 +0200 Subject: [PATCH] Add license blurbs for s3 access test files. --- .../java/bdv/img/omezarr/S3ImgAccessTest.java | 30 ++++++++++++++++++- .../java/bdv/img/omezarr/S3TimingTest.java | 28 +++++++++++++++++ 2 files changed, 57 insertions(+), 1 deletion(-) diff --git a/src/main/java/bdv/img/omezarr/S3ImgAccessTest.java b/src/main/java/bdv/img/omezarr/S3ImgAccessTest.java index 92df126..cee8035 100644 --- a/src/main/java/bdv/img/omezarr/S3ImgAccessTest.java +++ b/src/main/java/bdv/img/omezarr/S3ImgAccessTest.java @@ -1,3 +1,31 @@ +/*- + * #%L + * This package provides multi image OME-Zarr support in bigdataviewer. + * %% + * Copyright (C) 2022 - 2023 BigDataViewer developers. + * %% + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * #L% + */ package bdv.img.omezarr; import com.amazonaws.regions.Regions; @@ -21,4 +49,4 @@ public static void main(String[] args) throws IOException { zreader.close(); } -} \ No newline at end of file +} diff --git a/src/main/java/bdv/img/omezarr/S3TimingTest.java b/src/main/java/bdv/img/omezarr/S3TimingTest.java index a530c20..4b26cb7 100644 --- a/src/main/java/bdv/img/omezarr/S3TimingTest.java +++ b/src/main/java/bdv/img/omezarr/S3TimingTest.java @@ -1,3 +1,31 @@ +/*- + * #%L + * This package provides multi image OME-Zarr support in bigdataviewer. + * %% + * Copyright (C) 2022 - 2023 BigDataViewer developers. + * %% + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are met: + * + * 1. Redistributions of source code must retain the above copyright notice, + * this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright notice, + * this list of conditions and the following disclaimer in the documentation + * and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE + * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + * POSSIBILITY OF SUCH DAMAGE. + * #L% + */ package bdv.img.omezarr; import com.amazonaws.auth.AWSCredentials;