diff --git a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle.xml b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle.xml index 3adb3bc7acbb..363a6f00868f 100755 --- a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle.xml +++ b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle.xml @@ -9,6 +9,8 @@ what the following rules do, please see the checkstyle configuration page at http://checkstyle.sourceforge.net/config.html --> + + diff --git a/sdk/storage/azure-storage-blob-batch/checkstyle-suppressions.xml b/sdk/storage/azure-storage-blob-batch/checkstyle-suppressions.xml new file mode 100644 index 000000000000..2232d5e43950 --- /dev/null +++ b/sdk/storage/azure-storage-blob-batch/checkstyle-suppressions.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/sdk/storage/azure-storage-blob-batch/pom.xml b/sdk/storage/azure-storage-blob-batch/pom.xml index 6630c70f41ed..1ec12555d401 100644 --- a/sdk/storage/azure-storage-blob-batch/pom.xml +++ b/sdk/storage/azure-storage-blob-batch/pom.xml @@ -42,6 +42,11 @@ --add-reads com.azure.storage.blob.batch=com.azure.core.http.okhttp concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-blob-batch/spotbugs-exclude.xml b/sdk/storage/azure-storage-blob-batch/spotbugs-exclude.xml new file mode 100644 index 000000000000..e927f6e7efcc --- /dev/null +++ b/sdk/storage/azure-storage-blob-batch/spotbugs-exclude.xml @@ -0,0 +1,9 @@ + + + + + + + + diff --git a/sdk/storage/azure-storage-blob-changefeed/checkstyle-suppressions.xml b/sdk/storage/azure-storage-blob-changefeed/checkstyle-suppressions.xml new file mode 100644 index 000000000000..859b33674713 --- /dev/null +++ b/sdk/storage/azure-storage-blob-changefeed/checkstyle-suppressions.xml @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-blob-changefeed/pom.xml b/sdk/storage/azure-storage-blob-changefeed/pom.xml index e8286d674853..4f03e983377b 100644 --- a/sdk/storage/azure-storage-blob-changefeed/pom.xml +++ b/sdk/storage/azure-storage-blob-changefeed/pom.xml @@ -49,6 +49,11 @@ --add-reads com.azure.storage.blob.changefeed=com.azure.core.http.okhttp concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-blob-changefeed/spotbugs-exclude.xml b/sdk/storage/azure-storage-blob-changefeed/spotbugs-exclude.xml new file mode 100644 index 000000000000..74cc482eb6ae --- /dev/null +++ b/sdk/storage/azure-storage-blob-changefeed/spotbugs-exclude.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/implementation/models/package-info.java b/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/implementation/models/package-info.java new file mode 100644 index 000000000000..3f47c42d7486 --- /dev/null +++ b/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/implementation/models/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing implementation models for Blob Changefeed. + */ +package com.azure.storage.blob.changefeed.implementation.models; diff --git a/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/implementation/util/package-info.java b/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/implementation/util/package-info.java new file mode 100644 index 000000000000..0602841e0d0d --- /dev/null +++ b/sdk/storage/azure-storage-blob-changefeed/src/main/java/com/azure/storage/blob/changefeed/implementation/util/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing utility classes for Blob Changefeed. + */ +package com.azure.storage.blob.changefeed.implementation.util; diff --git a/sdk/storage/azure-storage-blob-cryptography/checkstyle-suppressions.xml b/sdk/storage/azure-storage-blob-cryptography/checkstyle-suppressions.xml new file mode 100644 index 000000000000..1877ab6952fc --- /dev/null +++ b/sdk/storage/azure-storage-blob-cryptography/checkstyle-suppressions.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/sdk/storage/azure-storage-blob-cryptography/pom.xml b/sdk/storage/azure-storage-blob-cryptography/pom.xml index fe48f79df0d3..43f49e308b41 100644 --- a/sdk/storage/azure-storage-blob-cryptography/pom.xml +++ b/sdk/storage/azure-storage-blob-cryptography/pom.xml @@ -43,6 +43,11 @@ --add-reads com.azure.storage.blob.cryptography=com.azure.core.http.okhttp concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-blob-cryptography/spotbugs-exclude.xml b/sdk/storage/azure-storage-blob-cryptography/spotbugs-exclude.xml new file mode 100644 index 000000000000..70311fac9b7c --- /dev/null +++ b/sdk/storage/azure-storage-blob-cryptography/spotbugs-exclude.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-blob-nio/checkstyle-suppressions.xml b/sdk/storage/azure-storage-blob-nio/checkstyle-suppressions.xml new file mode 100644 index 000000000000..70215d77a161 --- /dev/null +++ b/sdk/storage/azure-storage-blob-nio/checkstyle-suppressions.xml @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-blob-nio/pom.xml b/sdk/storage/azure-storage-blob-nio/pom.xml index 95606ff0a973..3a98f56bad87 100644 --- a/sdk/storage/azure-storage-blob-nio/pom.xml +++ b/sdk/storage/azure-storage-blob-nio/pom.xml @@ -40,6 +40,11 @@ --add-reads com.azure.storage.blob.nio=com.azure.core.http.okhttp concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-blob-nio/spotbugs-exclude.xml b/sdk/storage/azure-storage-blob-nio/spotbugs-exclude.xml new file mode 100644 index 000000000000..8702e8cabe5e --- /dev/null +++ b/sdk/storage/azure-storage-blob-nio/spotbugs-exclude.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-blob/checkstyle-suppressions.xml b/sdk/storage/azure-storage-blob/checkstyle-suppressions.xml new file mode 100644 index 000000000000..819e93565097 --- /dev/null +++ b/sdk/storage/azure-storage-blob/checkstyle-suppressions.xml @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-blob/pom.xml b/sdk/storage/azure-storage-blob/pom.xml index 2f11348b231e..d5faba0e0b9f 100644 --- a/sdk/storage/azure-storage-blob/pom.xml +++ b/sdk/storage/azure-storage-blob/pom.xml @@ -57,6 +57,11 @@ false concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-blob/spotbugs-exclude.xml b/sdk/storage/azure-storage-blob/spotbugs-exclude.xml new file mode 100644 index 000000000000..7cc69165ae3a --- /dev/null +++ b/sdk/storage/azure-storage-blob/spotbugs-exclude.xml @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/accesshelpers/package-info.java b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/accesshelpers/package-info.java new file mode 100644 index 000000000000..3fbaa48fefcd --- /dev/null +++ b/sdk/storage/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/accesshelpers/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Contains classes that aid access across package boundaries in a package-private manner. + */ +package com.azure.storage.blob.implementation.accesshelpers; diff --git a/sdk/storage/azure-storage-common/checkstyle-suppressions.xml b/sdk/storage/azure-storage-common/checkstyle-suppressions.xml new file mode 100644 index 000000000000..9e53f19e0ed2 --- /dev/null +++ b/sdk/storage/azure-storage-common/checkstyle-suppressions.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-common/pom.xml b/sdk/storage/azure-storage-common/pom.xml index 1096b50e5197..b48fa0da617f 100644 --- a/sdk/storage/azure-storage-common/pom.xml +++ b/sdk/storage/azure-storage-common/pom.xml @@ -47,6 +47,11 @@ --add-reads com.azure.storage.common=java.desktop concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-common/spotbugs-exclude.xml b/sdk/storage/azure-storage-common/spotbugs-exclude.xml new file mode 100644 index 000000000000..16f6937898a2 --- /dev/null +++ b/sdk/storage/azure-storage-common/spotbugs-exclude.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/connectionstring/package-info.java b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/connectionstring/package-info.java new file mode 100644 index 000000000000..51a9b583aea2 --- /dev/null +++ b/sdk/storage/azure-storage-common/src/main/java/com/azure/storage/common/implementation/connectionstring/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing classes for parsing connection strings. + */ +package com.azure.storage.common.implementation.connectionstring; diff --git a/sdk/storage/azure-storage-file-datalake/checkstyle-suppressions.xml b/sdk/storage/azure-storage-file-datalake/checkstyle-suppressions.xml new file mode 100644 index 000000000000..7dcb59d8c9c1 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/checkstyle-suppressions.xml @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-file-datalake/pom.xml b/sdk/storage/azure-storage-file-datalake/pom.xml index 8e6d50489e55..c0e907e77abc 100644 --- a/sdk/storage/azure-storage-file-datalake/pom.xml +++ b/sdk/storage/azure-storage-file-datalake/pom.xml @@ -53,6 +53,11 @@ --add-reads com.azure.storage.file.datalake=com.azure.core.http.okhttp concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-file-datalake/spotbugs-exclude.xml b/sdk/storage/azure-storage-file-datalake/spotbugs-exclude.xml new file mode 100644 index 000000000000..afc1410319a0 --- /dev/null +++ b/sdk/storage/azure-storage-file-datalake/spotbugs-exclude.xml @@ -0,0 +1,91 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-file-share/checkstyle-suppressions.xml b/sdk/storage/azure-storage-file-share/checkstyle-suppressions.xml new file mode 100644 index 000000000000..0679b9f971d9 --- /dev/null +++ b/sdk/storage/azure-storage-file-share/checkstyle-suppressions.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-file-share/pom.xml b/sdk/storage/azure-storage-file-share/pom.xml index 6ccc9a853ad1..fe800c647aee 100644 --- a/sdk/storage/azure-storage-file-share/pom.xml +++ b/sdk/storage/azure-storage-file-share/pom.xml @@ -51,6 +51,11 @@ --add-reads com.azure.storage.file.share=com.azure.core.http.okhttp concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-file-share/spotbugs-exclude.xml b/sdk/storage/azure-storage-file-share/spotbugs-exclude.xml new file mode 100644 index 000000000000..de143988fc7e --- /dev/null +++ b/sdk/storage/azure-storage-file-share/spotbugs-exclude.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/accesshelpers/package-info.java b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/accesshelpers/package-info.java new file mode 100644 index 000000000000..9cd204e8ceff --- /dev/null +++ b/sdk/storage/azure-storage-file-share/src/main/java/com/azure/storage/file/share/implementation/accesshelpers/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Contains classes that aid access across package boundaries in a package-private manner. + */ +package com.azure.storage.file.share.implementation.accesshelpers; diff --git a/sdk/storage/azure-storage-internal-avro/checkstyle-suppressions.xml b/sdk/storage/azure-storage-internal-avro/checkstyle-suppressions.xml new file mode 100644 index 000000000000..4c376ddf2ce1 --- /dev/null +++ b/sdk/storage/azure-storage-internal-avro/checkstyle-suppressions.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-internal-avro/pom.xml b/sdk/storage/azure-storage-internal-avro/pom.xml index f54255b3f6a0..7fe6ea99e5e8 100644 --- a/sdk/storage/azure-storage-internal-avro/pom.xml +++ b/sdk/storage/azure-storage-internal-avro/pom.xml @@ -42,6 +42,11 @@ --add-opens com.azure.storage.internal.avro/com.azure.storage.internal.avro.implementation.schema=ALL-UNNAMED concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-internal-avro/spotbugs-exclude.xml b/sdk/storage/azure-storage-internal-avro/spotbugs-exclude.xml new file mode 100644 index 000000000000..b783f0b9976e --- /dev/null +++ b/sdk/storage/azure-storage-internal-avro/spotbugs-exclude.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/complex/package-info.java b/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/complex/package-info.java new file mode 100644 index 000000000000..d2aec43abdcc --- /dev/null +++ b/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/complex/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing classes for Avro complex schema. + */ +package com.azure.storage.internal.avro.implementation.schema.complex; diff --git a/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/file/package-info.java b/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/file/package-info.java new file mode 100644 index 000000000000..2f420cca97db --- /dev/null +++ b/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/file/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing classes for Avro file schema. + */ +package com.azure.storage.internal.avro.implementation.schema.file; diff --git a/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/package-info.java b/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/package-info.java new file mode 100644 index 000000000000..b0d0e5140480 --- /dev/null +++ b/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing classes for Avro schema. + */ +package com.azure.storage.internal.avro.implementation.schema; diff --git a/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/primitive/package-info.java b/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/primitive/package-info.java new file mode 100644 index 000000000000..ab7a73153543 --- /dev/null +++ b/sdk/storage/azure-storage-internal-avro/src/main/java/com/azure/storage/internal/avro/implementation/schema/primitive/package-info.java @@ -0,0 +1,7 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +/** + * Package containing classes for Avro primitive schema. + */ +package com.azure.storage.internal.avro.implementation.schema.primitive; diff --git a/sdk/storage/azure-storage-queue/checkstyle-suppressions.xml b/sdk/storage/azure-storage-queue/checkstyle-suppressions.xml new file mode 100644 index 000000000000..b0ad345a6c0a --- /dev/null +++ b/sdk/storage/azure-storage-queue/checkstyle-suppressions.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/sdk/storage/azure-storage-queue/pom.xml b/sdk/storage/azure-storage-queue/pom.xml index f15877312ad8..4567ec3763b7 100644 --- a/sdk/storage/azure-storage-queue/pom.xml +++ b/sdk/storage/azure-storage-queue/pom.xml @@ -36,8 +36,6 @@ ../azure-storage-common/ci.system.properties - --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED - --add-exports com.azure.core/com.azure.core.implementation.serializer.jackson=ALL-UNNAMED --add-opens com.azure.storage.common/com.azure.storage.common.implementation=ALL-UNNAMED --add-opens com.azure.storage.queue/com.azure.storage.queue=ALL-UNNAMED --add-opens com.azure.storage.queue/com.azure.storage.queue.implementation=ALL-UNNAMED @@ -47,6 +45,11 @@ --add-reads com.azure.storage.queue=com.azure.core.http.okhttp concurrent + + checkstyle-suppressions.xml + + false + spotbugs-exclude.xml diff --git a/sdk/storage/azure-storage-queue/spotbugs-exclude.xml b/sdk/storage/azure-storage-queue/spotbugs-exclude.xml new file mode 100644 index 000000000000..a001fd7d7a81 --- /dev/null +++ b/sdk/storage/azure-storage-queue/spotbugs-exclude.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +