-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathcheckstyle-suppressions.xml
executable file
·629 lines (516 loc) · 46.6 KB
/
checkstyle-suppressions.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC
"-//Checkstyle//DTD SuppressionFilter Configuration 1.2//EN"
"https://checkstyle.org/dtds/suppressions_1_2.dtd">
<suppressions>
<!-- Add Javadoc suppression for any test files (ie. ones that live under src/test/java). -->
<suppress checks="Javadoc" files="src[/\\]test[/\\]java[/\\].*.java"/>
<suppress checks="Javadoc" files="src[/\\]test-shared[/\\]java[/\\].*.java"/>
<suppress checks="Javadoc" files=".*CoverageReporter\.java"/>
<suppress checks="Javadoc" files=".*[/\\]implementation[/\\].*\.java"/>
<suppress checks="Header" files=".*package-info.java"/>
<!-- Suppress all checkstyle rules for Track 1/management libraries. -->
<suppress checks="[a-zA-Z0-9]*" files=".*[/\\]com[/\\]microsoft[/\\].*"/>
<!-- ignore missing javadoc in samples -->
<suppress checks="MissingJavadocMethod" files=".*[/\\]samples[/\\].*\.java"/>
<suppress checks="MissingJavadocType" files=".*[/\\]samples[/\\].*\.java"/>
<suppress checks="MissingJavadocPackage" files=".*[/\\]samples[/\\].*\.java"/>
<suppress checks="MissingJavadocPackage" files=".*[/\\]samples[/\\].*\.java"/>
<!-- Code was taken from Netty and uses its license instead of our usual one. -->
<suppress checks="Header" files="com.azure.core.http.netty.implementation.HttpProxyHandler"/>
<!-- Code was copied from FasterXML.com and use their license instead of our usual one. -->
<suppress checks="Header" files="com.azure.core.implementation.jackson.OptionModule"/>
<suppress checks="Header" files="com.azure.core.implementation.jackson.OptionPropertiesModifier"/>
<suppress checks="Header" files="com.azure.core.implementation.jackson.OptionBeanPropertyWriter"/>
<suppress checks="Header" files="com.azure.core.implementation.jackson.OptionTypeModifier"/>
<suppress checks="Header" files="com.azure.core.implementation.jackson.OptionSerializerProvider"/>
<suppress checks="Header" files="com.azure.core.implementation.jackson.OptionSerializer"/>
<!-- empty Enum Singleton Pattern -->
<suppress checks="NoWhitespaceBefore" files="Messages.java"/>
<!-- Star imports are ok in unit tests - it makes it easier to import all assertions, etc -->
<suppress checks="AvoidStarImport" files=".*[/\\]src[/\\]test[/\\]java[/\\].*\.java"/>
<!-- Remove this after fixing: https://github.com/Azure/azure-sdk-for-java/issues/5030 -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files=".*CredentialBuilderBase.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files=".*DeviceCodeCredentialBuilder.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files=".*InteractiveBrowserCredentialBuilder.java"/>
<!-- Fields tenantId, clientId and clientSecret are not set in all constructors. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.security.keyvault.jca.implementation.KeyVaultClient"/>
<!-- Fields defaultTrustManager and keyStore might be set more than once. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.security.keyvault.jca.KeyVaultTrustManager"/>
<!-- Remove this after fixing: https://github.com/Azure/azure-sdk-for-java/issues/5021 -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.storage.blob.specialized.BlobOutputStream.java"/>
<!-- Don't apply custom Checkstyle rules to files under test package -->
<suppress
checks="com\.azure\.tools\.checkstyle\.checks\.(ExternalDependencyExposedCheck|NoImplInPublicAPI|ServiceClientCheck|ServiceClientBuilderCheck|ServiceInterfaceCheck|HttpPipelinePolicyCheck|JavaDocFormatting|JavadocThrowsChecks|EnforceFinalFieldsCheck|ThrowFromClientLoggerCheck|GoodLoggingCheck)"
files=".*[/\\]src[/\\]test(-shared)?[/\\]java[/\\].*\.java"/>
<!-- Do not worry about leaking implementation API out of azure-core-test -->
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.core.test.*"/>
<!-- Don't apply custom Checkstyle rules to files under implementation package -->
<suppress
checks="com\.azure\.tools\.checkstyle\.checks\.(ExternalDependencyExposedCheck|NoImplInPublicAPI|ServiceClientCheck|ServiceClientBuilderCheck|ServiceInterfaceCheck|JavaDocFormatting|JavadocThrowsChecks|EnforceFinalFieldsCheck)"
files=".*[/\\]implementation[/\\].*\.java"/>
<!-- Don't apply custom Checkstyle rules to files under samples package -->
<suppress
checks="com\.azure\.tools\.checkstyle\.checks\.(ExternalDependencyExposedCheck|HttpPipelinePolicyCheck|EnforceFinalFieldsCheck|ThrowFromClientLoggerCheck|JavadocThrowsChecks)"
files=".*[/\\]samples[/\\].*\.java"/>
<!-- Don't check for JavaDocPackage in samples or tests-->
<suppress checks="JavadocPackage" files=".*[/\\](samples|test)[/\\].*\.java"/>
<!-- Suppress LineLength for samples and tests-->
<suppress checks="LineLength" files=".*[/\\](samples|test)[/\\].*\.java"/>
<!-- To allow using sysout rather than logger in samples -->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck"
files=".*[/\\]samples[/\\].*\.java"/>
<!-- All fields are not set in constructors. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck"
files="Receipt.java"/>
<!-- Suppress LineLength for i18n message properties -->
<suppress checks="LineLength" files="messages.properties"/>
<!-- Don't apply custom Checkstyle rules to files under checkstyle package. -->
<suppress checks="com\.azure\.tools\.checkstyle\.checks\..+" files=".*[/\\]tools[/\\]checkstyle[/\\].*"/>
<!-- Suppress the check on any implementation code and codegen classes -->
<suppress checks="LineLength" files=".*[/\\]storage[/\\].*implementation[/\\].*"/>
<suppress checks="LineLength" files="com.azure.storage.blob.models.BlobErrorCode.java"/>
<suppress checks="LineLength" files="com.azure.storage.file.share.models.ShareErrorCode.java"/>
<suppress checks="LineLength" files="com.azure.storage.queue.models.QueueErrorCode.java"/>
<!-- Suppress datalake for now as it is new development -->
<suppress checks="LineLength" files=".*[/\\]storage[/\\]file[/\\]datalake[/\\]models[/\\].*"/>
<!-- Identity and opentelemetry tracing are plugin packages and shouldn't be referenced -->
<suppress checks="IllegalImport" files=".*[/\\]com[/\\]azure[/\\]core[/\\]tracing[/\\]opentelemetry[/\\]*"/>
<suppress checks="IllegalImport" files=".*[/\\]com[/\\]azure[/\\]monitor[/\\]opentelemetry[/\\]exporter[/\\]*"/>
<suppress checks="IllegalImport" files=".*[/\\]com[/\\]azure[/\\]identity[/\\]*"/>
<!-- Suppress warnings for Event Processor until the usage of "Client" is discussed and resolved:
https://github.com/Azure/azure-sdk/issues/321 -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files=".*EventHubClientBuilder.java"/>
<!-- Suppress warnings for KeyEncryptionKey and LocalCrypto client as it is a specialized client and doesn't follow the guidelines completely -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files=".*KeyEncryptionKeyClientBuilder.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files=".*LocalCryptographyClientBuilder.java"/>
<!-- Suppress warnings for ServiceBusReceiverClientBuilder and ServiceBusSenderClientBuilder. They are created from
the main ServiceBusClientBuilder. -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="ServiceBusClientBuilder.java"/>
<!-- Cryptography Client exception for service client instantiation as it provides client side crypto and is not entirely based on REST service -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files=".*CryptographyAsyncClient.java"/>
<!-- Suppress method name "acceptNextSession" and "acceptSession" for ServiceBusSessionReceiverAsyncClient and ServiceBusSessionReceiverClient-->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="ServiceBusSessionReceiverAsyncClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="ServiceBusSessionReceiverClient.java"/>
<!-- Some classes are named *Builder but are not @ServiceClientBuilder -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="com.azure.core.http.netty.NettyAsyncHttpClientBuilder"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="com.azure.core.http.jdk.httpclient.JdkAsyncHttpClientBuilder"/>
<!-- Suppress public/private constructor check since BlobClients need protected constructors to create EncryptedClients -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.storage.blob.BlobAsyncClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.storage.blob.BlobClient.java"/>
<!-- Suppress client mutability check since LeaseClients need to update a changing lease ID -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.storage.blob.specialized.BlobLeaseAsyncClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.storage.file.share.specialized.ShareLeaseAsyncClient.java"/>
<!-- Any code in any package, it should never be a 'throw' keyword in the client library codebase except for in the client logger -->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files=".*[/\\]com[/\\]azure[/\\]core[/\\]util[/\\]logging[/\\]*"/>
<!-- Suppress IO exception for now, which need code owner's attention -->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.storage.blob.BlobInputStream.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.storage.blob.BlobOutputStream.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.storage.blob.BlockBlobClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.storage.blob.PageBlobAsyncClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.storage.blob.specialized.cryptography.EncryptedBlobClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.storage.blob.specialized.BlobInputStream.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.storage.blob.specialized.BlobOutputStream.java"/>
<!-- Suppress IO exception in the NIO package because they are required by the interface -->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck" files="com.azure.storage.blob.nio/*"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.storage.blob.batch.BlobBatchOperationResponse.java"
lines="110"/>
<!-- Throws a non-runtime exception -->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLogger"
files="com.azure.core.http.netty.implementation.HttpProxyHandler.java"/>
<!-- InvalidKeyException is not a runtime exception, issue link: https://github.com/Azure/azure-sdk-for-java/issues/5178 -->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLogger"
files="com.azure.security.keyvault.keys.cryptography.AesCbc.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLogger"
files="com.azure.security.keyvault.keys.cryptography.AesCbcPad.java"/>
<!-- suppress the runtime exception in the KeyVaultClient class-->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLogger"
files="com.azure.security.keyvault.jca.implementation.KeyVaultClient.java"/>
<!-- suppress the runtime exception in the KeyVaultKeyLessECSignature class-->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLogger"
files="com.azure.security.keyvault.jca.implementation.signature.KeyVaultKeyLessECSignature.java"/>
<!-- suppress the runtime exception in the KeyVaultKeyLessRsaSignature class-->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLogger"
files="com.azure.security.keyvault.jca.implementation.signature.KeyVaultKeyLessRsaSignature.java"/>
<!-- suppress the runtime exception in the AbstractKeyVaultKeyLessSignature class-->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLogger"
files="com.azure.security.keyvault.jca.implementation.signature.AbstractKeyVaultKeyLessSignature.java"/>
<!-- This class overrides a method that throws, so it cannot be avoided. -->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck" files="com.azure.security.keyvault.jca.KeyVaultTrustManager"/>
<!-- Nested blocks are still readable in the switch statements in Avro. -->
<suppress checks="AvoidNestedBlocks" files="com.azure.storage.internal.avro.implementation.schema.AvroSchema.java"/>
<suppress checks="AvoidNestedBlocks" files="com.azure.storage.internal.avro.implementation.schema.AvroType.java"/>
<!-- The constant name is public static. -->
<suppress checks="ConstantNames" files=".*[/\\]azure[/\\]storage[/\\].*LoggingOptions.java"/>
<!-- Suppress external dependency Checkstyle on Netty and OkHttp HttpClient packages -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.http.netty.NettyAsyncHttpClientBuilder"/>
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.http.okhttp.OkHttpAsyncHttpClientBuilder"/>
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.monitor.opentelemetry.exporter.AzureMonitorTraceExporter"/>
<!-- Suppress external dependency Checkstyle on serialization packages -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.serializer.avro.apache.ApacheAvroSerializerBuilder"/>
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.serializer.avro.jackson.JacksonAvroSerializerBuilder"/>
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.serializer.json.gson.GsonJsonSerializerBuilder"/>
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.serializer.json.jackson.JacksonJsonSerializerBuilder"/>
<!-- Suppress external dependency checkstyle for test classes as JUnit 5 has TestInfo dependency injection and should be part of method args -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="src[/\\]test[/\\]java[/\\].*.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files=".*[/\\]com[/\\]azure[/\\]core[/\\]test[/\\].*"/>
<!-- Temporary suppressions -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.util.serializer.JacksonAdapter"/>
<suppress checks="com.azure.tools.checkstyle.checks.JavadocInlineTag"
files="com.azure.core.util.serializer.SerializerAdapter"/>
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI"
files="com.azure.core.http.rest.SwaggerMethodParser"/>
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI"
files="com.azure.core.util.serializer.UnixTimeSerializer"/> <!-- FIXME this is a bug in the checkstyle rule - the class itself is non-public, so it doesn't matter that the method returns an implementation type -->
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI"
files="com.azure.core.util.serializer.UnixTimeDeserializer"/> <!-- FIXME, same reason as above -->
<!-- JavadocInlineTagCheck Suppression for now, which need code owner's attention -->
<suppress checks="com.azure.tools.checkstyle.checks.JavadocInlineTagCheck"
files="com.azure.core.http.HttpResponse.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.JavadocInlineTagCheck"
files="com.azure.security.keyvault.keys.KeyAsyncClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.JavadocInlineTagCheck"
files="com.azure.security.keyvault.keys.KeyClient.java"/>
<!-- Logger class suppression -->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="ClientLogger.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="DefaultLogger.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="LoggingEventBuilder.java"/>
<!-- Requires static access to logger to report errors while loading i18n messages (from within a static initializer )-->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="Messages.java"/>
<!-- AMQP logger name set in lambda function to specify the function name -->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck"
files="com.azure.core.amqp.implementation.ReactorConnection.java"/>
<!-- Accesses Windows native credential api, doesn't follow java style.-->
<suppress checks="MethodName|MemberName|VisibilityModifier|TypeName"
files="com.azure.identity.implementation.WindowsCredentialApi.java"/>
<!-- Need to write to stdout as the default SDK behavior here.-->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck"
files="com.azure.identity.DeviceCodeCredentialBuilder.java"/>
<!-- Not newing ClientLogger -->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.core.util.logging.ClientLogger.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.core.implementation.logging.DefaultLogger.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.core.util.serializer.SerializerEncoding.java"/>
<!-- TODO: Synapse access control API does not support PagedResponse and Response. -->
<!-- Checkstyle suppression's for naming issues reported in the Synapse artifacts related clients-->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.analytics.synapse.accesscontrol.RoleAssignmentsAsyncClient"/>
<!-- Suppress the check on synapse code-gen classes -->
<suppress checks="Indentation" files="com.azure.analytics.synapse.accesscontrol.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.accesscontrol.implementation..*Impl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.artifacts.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.artifacts.implementation..*Impl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.spark.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.spark.implementation..*Impl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.managedprivateendpoints.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.managedprivateendpoints.implementation..*Impl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.monitoring.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.monitoring.implementation..*Impl" />
<!-- empty class Pattern in Synapse artifacts -->
<suppress checks="WhitespaceAround" files=".*[/\\]synapse[/\\]azure-analytics-synapse-artifacts[/\\].*"/>
<!-- Suppress the long package name in Synapse managed private endpoints -->
<suppress checks="PackageName" files="com.azure.analytics.synapse.managedprivateendpoints.*" />
<!-- Suppress the long line in endpoint path -->
<suppress checks="LineLength" files="com.azure.analytics.synapse.managedprivateendpoints.implementation.ManagedPrivateEndpointsImpl.java"/>
<!-- Suppress the check on synapse artifacts code-gen classes for return type specification -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.analytics.synapse.artifacts.*"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.analytics.synapse.managedprivateendpoints.ManagedPrivateEndpointsAsyncClient.java"/>
<!-- Checkstyle rules should not check files in generated-test-sources -->
<suppress checks="[a-zA-Z0-9]*" files="[/\\](generated-test-sources|generatedtestsources)[/\\]"/>
<!-- Allows the HttpPipelinePolicy derived class in Implementation folder -->
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.containers.containerregistry.implementation.authentication.ContainerRegistryCredentialsPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.messaging.servicebus.implementation.ServiceBusTokenCredentialHttpPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.messaging.eventgrid.implementation.CloudEventTracingPipelinePolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.storage.common.implementation.policy.SasTokenCredentialPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy" files="com.azure.storage.blob.implementation.util.BlobUserAgentModificationPolicy.java"/>
<!-- Fields tenantId, clientId and clientSecret are not set in all constructors. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.security.keyvault.jca.implementation.KeyVaultClient"/>
<!-- Fields defaultTrustManager and keyStore might be set more than once. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.security.keyvault.jca.KeyVaultTrustManager"/>
<!-- The KeyVault JCA library has to be as lightweight as possible and thus, does not use Azure Core or its loggers. -->
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.security.keyvault.jca.*"/>
<!-- This class overrides a method that throws, so it cannot be avoided. -->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck" files="com.azure.security.keyvault.jca.KeyVaultTrustManager"/>
<!-- Empty while loop waiting for Reactor stream completion -->
<suppress checks="EmptyBlock" files="com.azure.storage.blob.batch.BlobBatch.java"/>
<!-- Azure Search test models -->
<suppress checks="MethodName|MemberName|ParameterName|VisibilityModifier"
files="com.azure.search.documents.test.environment.models.*.java"/>
<!-- Suppress checks for AutoRest generated Search code -->
<!-- Hand-written classes should be specified here to be checked -->
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]implementation[/\\]models[/\\]"/>
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]indexes[/\\]implementation[/\\]models[/\\]"/>
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]implementation[/\\]converters[/\\]"/>
<suppress checks="."
files=".*[/\\]search[/\\]documents[/\\]models[/\\]((?!(IndexBatch|ValueFacetResult|RangeFacetResult|SearchableField|SimpleField|IndexBatchException|ScoringParameter)).*)"/>
<suppress checks="."
files=".*[/\\]azure-quantum-jobs[/\\]src[/\\]main[/\\]java[/\\]"/>
<suppress checks="."
files=".*[/\\]webpubsub[/\\]implementation[/\\]"/>
<suppress checks="."
files=".*[/\\]monitor[/\\]implementation[/\\]"/>
<!-- Suppress ConfigurationCredentialsPolicy for HttpPipelinePolicyCheck.
This suppression need to be deleted after AzConfig using AAD credential.
Issue Link: https://github.com/Azure/azure-sdk-for-java/issues/5131 -->
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicyCheck"
files="com.azure.data.appconfiguration.implementation.ConfigurationCredentialsPolicy.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicyCheck"
files="com.azure.data.appconfiguration.implementation.SyncTokenPolicy.java"/>
<!-- Only checks Public Api classes -->
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files=".*[/\\]test[/\\].*"/>
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files=".*[/\\]storage[/\\].*samples[/\\].*"/>
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files=".*[/\\]implementation[/\\].*"/>
<!-- FIXME temp -->
<suppress checks="ServiceClient" files="com.azure.messaging.webpubsub.*"/>
<!-- Suppress ReverseProxyPolicy being package private. It may get moved into azure-core. -->
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicy"
files="com.azure.messaging.webpubsub.ReverseProxyPolicy.java"/>
<!-- Suppress the check on code-gen classes -->
<suppress checks="[a-zA-Z0-9]*" files="com.azure.monitor.opentelemetry.exporter.implementation.*"/>
<suppress checks="[a-zA-Z0-9]*" files="com.azure.monitor.query.implementation..*"/>
<suppress checks="Indentation" files="com.azure.security.keyvault.administration.implementation.RoleAssignmentsImpl"/>
<suppress checks="Indentation" files="com.azure.security.keyvault.administration.implementation.RoleDefinitionsImpl"/>
<suppress checks="Indentation" files="com.azure.ai.metricsadvisor.implementation.AzureCognitiveServiceMetricsAdvisorRestAPIOpenAPIV2Impl"/>
<!-- Checkstyle suppressions for the auto generated Chat Client Implementation -->
<suppress checks="com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck" files="com.azure.communication.chat.implementation.AzureCommunicationChatServiceImpl.java"/>
<!-- Checkstyle suppressions for the auto generated Phone Number Administration Implementation -->
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicyCheck"
files="com.azure.communication.common.implementation.HmacAuthenticationPolicy.java"/>
<suppress checks="[a-zA-Z0-9]*" files="com.azure.data.schemaregistry.implementation.*"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.communication.identity.CommunicationIdentityClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.communication.identity.CommunicationIdentityAsyncClient.java"/>
<!-- Suppress the check on synapse code-gen classes -->
<suppress checks="Indentation" files="com.azure.analytics.synapse.accesscontrol.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.accesscontrol.implementation..*Impl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.artifacts.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.artifacts.implementation..*Impl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.spark.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.spark.implementation..*Impl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.managedprivateendpoints.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.managedprivateendpoints.implementation..*Impl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.monitoring.implementation..*ClientImpl" />
<suppress checks="Indentation" files="com.azure.analytics.synapse.monitoring.implementation..*Impl" />
<!-- empty class Pattern in Synapse artifacts -->
<suppress checks="WhitespaceAround" files=".*[/\\]synapse[/\\]azure-analytics-synapse-artifacts[/\\].*"/>
<!-- Checkstyle suppressions for naming issues reported in the Synapse artifacts related clients-->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files=".*[/\\]synapse[/\\].*"/>
<!-- Suppress the long package name in Synapse managed private endpoints -->
<suppress checks="PackageName" files="com.azure.analytics.synapse.managedprivateendpoints.*" />
<!-- Suppress the long line in endpoint path -->
<suppress checks="LineLength" files="com.azure.analytics.synapse.managedprivateendpoints.implementation.ManagedPrivateEndpointsImpl.java"/>
<!-- Cosmos sdk suppressions -->
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-cosmos[/\\]src[/\\]test[/\\]"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-cosmos-encryption[/\\]src[/\\]test[/\\]"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]cosmos[/\\]examples[/\\]"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]cosmos[/\\]implementation[/\\]"/>
<suppress checks="[a-zA-Z0-9]*"
files=".*[/\\]azure-cosmos[/\\]((?!(BridgeInternal|CosmosBridgeInternal|CommonsBridgeInternal)).*)"/>
<suppress checks="[a-zA-Z0-9]*"
files=".*[/\\]azure-cosmos-encryption[/\\]((?!(EncryptionBridgeInternal)).*)"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]cosmos[/\\]rx[/\\]examples[/\\]"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-cosmos-benchmark[/\\]"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck"
files="com.azure.cosmos.CosmosResponseDiagnostics"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files=".*[/\\]cosmos[/\\]((?!(CosmosClient|CosmosScripts|CosmosAsyncDatabase|PartitionKeyDefinition
|JsonSerializable|CosmosContainer|DatabaseAccount|CosmosContainerProperties|UniqueKeyPolicy|IncludedPath
|CosmosConflictProperties|CosmosDatabase|ConnectionPolicy|ThrottlingRetryOptions|ClientSideRequestStatistics)).*)"/>
<suppress checks="com.azure.tools.checkstyle.checks.(GoodLoggingCheck|ExternalDependencyExposedCheck)"
files="com.azure.cosmos.JsonSerializable"/> <!-- exposes logger from slf4j-->
<suppress checks="javadoc" files="com.azure.cosmos.CompositePathSortOrder"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.cosmos.PartitionKey"/>
<suppress
checks="com.azure.tools.checkstyle.checks.(EnforceFinalFieldsCheck|ExternalDependencyExposedCheck|NoImplInPublicAPI)"
files="com.azure.cosmos.ClientSideRequestStatistics"/>
<suppress checks="IllegalImport"
files="com.azure.cosmos.ClientSideRequestStatistics"/> <!-- Need OperatingSystemMXBean from sun to obtain cpu info -->
<suppress checks="EnforceFinalFields" files="com.azure.spring.cloud.config.AppConfigurationPropertySourceLocator"
/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-spring-cloud-feature-management[/\\]"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-spring-cloud-feature-management-web[/\\]"/>
<!-- Suppress package name warning: b2c is the product name. -->
<suppress checks="PackageName" files="com.azure.spring.cloud.autoconfigure.aadb2c.*" />
<!-- Suppress package name warning: oauth2 is the protocol name. -->
<suppress checks="PackageName" files="com.azure.spring.cloud.autoconfigure.aad.implementation.oauth2" />
<!-- perf-test files are not public API, so they don't need to fulfill all requirements. -->
<suppress checks="Javadoc" files=".*[/\\]azure-\w+-perf[/\\].*\.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFields" files=".*[/\\]azure-\w+-perf[/\\].*\.java"/>
<suppress checks="GoodLogging" files=".*[/\\]azure-\w+-perf|perf-test-core[/\\].*\.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck" files=".*[/\\]azure-\w+-perf|perf-test-core[/\\].*\.java"/>
<!-- Azure Search test models -->
<suppress checks="StaticVariableName|VisibilityModifier"
files="com.azure.search.perf.*.java|com.azure.messaging.servicebus.perf.*.java"/>
<!-- Internal smoke test classes in Java perf framework need the public modifier -->
<suppress checks="RedundantModifier" files="com.azure.perf.test.core.NoOpTest.java"/>
<suppress checks="RedundantModifier" files="com.azure.perf.test.core.SleepTest.java"/>
<suppress checks="RedundantModifier" files="com.azure.perf.test.core.ExceptionTest.java"/>
<!-- The variables are assigned by jcommander annotation injection framework, cannot be made final. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck"
files="com.azure.perf.test.core.PerfStressOptions.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck"
files="com.azure.perf.test.core.HttpPipelineOptions.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck"
files="com.azure.messaging.servicebus.perf.ServiceBusStressOptions.java"/>
<!-- Nested blocks are still readable in the switch statements in Avro. -->
<suppress checks="AvoidNestedBlocks" files="com.azure.storage.internal.avro.implementation.schema.AvroSchema.java"/>
<suppress checks="AvoidNestedBlocks" files="com.azure.storage.internal.avro.implementation.schema.AvroType.java"/>
<!-- Checkstyle suppressions for resource manager package -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.resourcemanager.*"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck" files="com.azure.resourcemanager.test.policy.HttpDebugLoggingPolicy.java"/>
<!-- Checkstyle suppression for Event Hubs client APIs that use Flux instead of PagedFlux for methods that return a collection -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.messaging.eventhubs.EventHubConsumerClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.messaging.eventhubs.EventHubConsumerAsyncClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.messaging.eventhubs.EventHubProducerClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.messaging.eventhubs.EventHubProducerAsyncClient.java"/>
<!-- ### begin: Spring related suppression -->
<!-- TODO: (https://github.com/Azure/azure-sdk-for-java/issues/18291) -->
<!-- GoodLoggingCheck: Spring as a framework, will not directly use ClientLogger-->
<suppress checks="com.azure.tools.checkstyle.checks.(GoodLoggingCheck|ThrowFromClientLoggerCheck)" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>
<!-- ExternalDependencyExposedCheck: Spring will directly use classes from spring dependencies in methods-->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>
<!-- JavadocPackage: Temporarily skip -->
<suppress checks="JavadocPackage" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>
<!-- MissingJavadocMethod: Temporarily skip -->
<suppress checks="MissingJavadocMethod" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>
<!-- JavadocThrowsChecks: Temporarily skip -->
<suppress checks="JavadocThrowsChecks" files=".*[/\\]com[/\\]azure[/\\]spring[/\\].*"/>
<!-- MissingJavadocMethod: internal packages -->
<suppress checks="MissingJavadocType|JavadocThrowsChecks|EnforceFinalFields" files=".*[/\\]com[/\\]azure[/\\]spring[/\\]integration[/\\]test.*"/>
<!--BlacklistedWordsCheck: URL is the name -->
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files="com.azure.spring.core.resource.StorageBlobResource.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.BlacklistedWordsCheck" files="com.azure.spring.core.resource.StorageFileResource.java"/>
<!-- EnforceFinalFieldsCheck: The property will be filled by Spring framework -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.data.cosmos.config.AbstractCosmosConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.data.cosmos.core.query.CosmosPageRequest.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.messaging.container.AbstractListenerContainer.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="ServiceBusTopicBinderConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="ServiceBusQueueBinderConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.stream.binder.eventhubs.config.EventHubsBinderConfiguration.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.keyvault.env.KeyVaultOperation.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck" files="com.azure.spring.cloud.autoconfigure.data.cosmos.CosmosDataAutoConfiguration.java"/>
<suppress checks="MethodName" files="com.azure.spring.messaging.checkpoint.CheckpointConfig.java"/>
<suppress checks="MethodName" files="com.azure.spring.servicebus.support.ServiceBusClientConfig.java"/>
<!-- Suppress warnings for EventProcessorSharedAuthenticationClientBuilder and EventHubSharedAuthenticationClientBuilder. They are used by Azure Spring. -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="EventHubNamespaceProcessorClientBuilder.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="EventHubNamespaceClientBuilder.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck" files="com.azure.spring.cloud.autoconfigure.servicebus.AzureServiceBusConsumerClientConfiguration.java"/>
<!-- Checkstyle suppressions for azure.spring.data.cosmos package -->
<suppress checks="MethodName|MemberName|ParameterName" files="src[/\\]test[/\\]java[/\\]com[/\\]azure[/\\]spring[/\\]data[/\\]cosmos[/\\]domain|repository.*.java"/>
<suppress checks="MethodName" files="com.azure.spring.data.cosmos.config.CosmosConfig.java"/>
<suppress checks="PackageName" files="com.azure.spring.data.cosmos.multidatasource.*\.java"/>
<suppress checks="MemberName" files="com.azure.spring.data.cosmos.MyItem.java"/>
<!-- Checkstyle suppressions for com.microsoft.azure.spring package,
if you change the package name to com.azure.spring, please remove the configuration here. -->
<suppress checks="ConstantName|VisibilityModifier" files="src[/\\]test[/\\]java[/\\]com[/\\]microsoft[/\\]azure[/\\]spring[/\\]cloud[/\\]config|properties.*.java"/>
<!-- ### end: Spring related suppression -->
<!-- False positive as the methods are implemented in an anonymous class that is not exposed publicly. EntityHelper's
accessor classes are not visible. -->
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.servicebus.administration.models.QueueProperties.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.servicebus.administration.models.RuleProperties.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.servicebus.administration.models.SubscriptionProperties.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.NoImplInPublicAPI" files="com.azure.messaging.servicebus.administration.models.TopicProperties.java"/>
<!-- TODO: (https://github.com/Azure/azure-sdk-for-java/issues/18279) -->
<!-- Suppress DigitalTwins for now -->
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-digitaltwins-core[/\\]src[/\\]main[/\\]java[/\\]com[/\\]azure[/\\]digitaltwins[/\\]core[/\\]implementation[/\\]"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClient" files="[/\\]azure-digitaltwins-core[/\\]src[/\\]main[/\\]java[/\\]com[/\\]azure[/\\]digitaltwins[/\\]core[/\\]DigitalTwinsClient.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClient" files="[/\\]azure-digitaltwins-core[/\\]src[/\\]main[/\\]java[/\\]com[/\\]azure[/\\]digitaltwins[/\\]core[/\\]DigitalTwinsAsyncClient.java"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-ai-anomalydetector[/\\]src[/\\]"/>
<suppress checks="[a-zA-Z0-9]*" files="[/\\]azure-iot-deviceupdate[/\\]src[/\\]"/>
<!-- Don't enforce non-static ClientLogger instances in com.azure.core.util.Option types-->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLoggerCheck"
files="com.azure.core.implementation.Option.java"/>
<!-- Suppress checks in azure-core-experimental -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.core.experimental.jsonpatch.(JsonPatchDocumentSerializer|JsonPatchOperationSerializer).java"/>
<!-- Suppress non-conforming service builder and service clients -->
<!-- The clients don't end with 'Client' but instead with 'Sender' -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientBuilderCheck"
files="com.azure.search.documents.SearchClientBuilder"
lines="392,424,436"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.search.documents.SearchIndexingBufferedAsyncSender"/>
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck"
files="com.azure.search.documents.SearchIndexingBufferedSender"/>
<!-- Suppress checks on AutoRest generated Attestation service code -->
<suppress checks="ThrowFromClientLogger"
files="com.azure.security.attestation.models.JsonWebKey.java"/>
<suppress checks="WhitespaceAround|ThrowFromClientLogger"
files="com.azure.security.attestation.implementation.models.*\.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck"
files="com.azure.core.test.AzureTestWatcher.java"/>
<!-- This policy is purely an implementation detail and should not be used by customers -->
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicyCheck"
files="com.azure.data.tables.implementation.CosmosPatchTransformPolicy"/>
<!-- Suppress checks on AutoRest generated Text Analytics service code -->
<suppress checks="WhitespaceAround"
files="com.azure.ai.textanalytics.implementation.models.TasksStateTasksDetails"/>
<!-- Suppress for the OnlyFinalFieldsForImmutableClass on Text Analytics -->
<suppress checks="com.azure.tools.checkstyle.checks.OnlyFinalFieldsForImmutableClass"
files="com.azure.ai.textanalytics.(models|util).*\.java"/>
<!-- Suppress checks on AutoRest generated Video Analyzer code -->
<suppress checks="WhitespaceAround" files="com.azure.media.videoanalyzer.edge.models.CertificateSource"/>
<suppress checks="WhitespaceAround" files="com.azure.media.videoanalyzer.edge.models.CredentialsBase"/>
<suppress checks="WhitespaceAround" files="com.azure.media.videoanalyzer.edge.models.ImageFormatBmp"/>
<suppress checks="WhitespaceAround" files="com.azure.media.videoanalyzer.edge.models.ImageFormatPng"/>
<suppress checks="WhitespaceAround" files="com.azure.media.videoanalyzer.edge.models.ImageFormatProperties"/>
<suppress checks="WhitespaceAround" files="com.azure.media.videoanalyzer.edge.models.SpatialAnalysisOperationBase"/>
<!-- Suppress checks on sample for Video Analyzer -->
<suppress checks="AvoidStarImport" files="com.azure.media.videoanalyzer.edge.LvaInvokeModuleSample"/>
<!-- Event Hubs perf tests should not be using ClientLogger when outputting results. -->
<suppress checks="com.azure.tools.checkstyle.checks.ThrowFromClientLogger"
files="com.azure.messaging.eventhubs.perf[/\\].*\.java"/>
<suppress checks="com.azure.tools.checkstyle.checks.GoodLoggingCheck"
files="com.azure.messaging.eventhubs.perf[/\\].*\.java"/>
<!-- Event Hubs perf test for Track 1, which uses its own TransportType class. -->
<suppress checks="com.azure.tools.checkstyle.checks.ExternalDependencyExposedCheck"
files="com.azure.messaging.eventhubs.perf.EventHubsOptions.java"/>
<!-- Fields are set via reflection using JCommander. Setting them to final fields will break it. -->
<suppress checks="com.azure.tools.checkstyle.checks.EnforceFinalFieldsCheck"
files="com.azure.messaging.eventhubs.perf[/\\].*Options\.java"/>
<!-- Avoiding PagedFlux check if already using RetriableDownloadFlux. -->
<!-- Issue: https://github.com/Azure/azure-sdk-for-java/issues/22117 -->
<suppress checks="com.azure.tools.checkstyle.checks.ServiceClientCheck" files="com.azure.communication.callingserver.CallingServerAsyncClient"/>
<!-- Third party source code files, retained as is. -->
<suppress checks="[a-zA-Z0-9]*" files="com.azure.identity.implementation.intellij.Aes"/>
<suppress checks="[a-zA-Z0-9]*" files="com.azure.identity.implementation.intellij.HashedBlockInputStream"/>
<suppress checks="[a-zA-Z0-9]*" files="com.azure.identity.implementation.intellij.LittleEndianDataInputStream"/>
<suppress checks="[a-zA-Z0-9]*" files="com.azure.identity.implementation.intellij.Salsa20"/>
<!-- Checkstyle suppressions to keep HttpPipelinePolicy in implementation folder. -->
<suppress checks="com.azure.tools.checkstyle.checks.HttpPipelinePolicyCheck"
files="com.azure.communication.callingserver.implementation.RedirectPolicy.java"/>
<!-- Suppress VisibilityModifier in MemberConverterImplTests.-->
<suppress checks="VisibilityModifier"
files="com.azure.core.implementation.jackson.MemberNameConverterImplTests.java"/>
<!-- Code generation doesn't add a space between '{' and '}' when the class is empty. -->
<suppress checks="WhitespaceAround" files="com.azure.search.documents.indexes.models.DataChangeDetectionPolicy"/>
<suppress checks="WhitespaceAround" files="com.azure.search.documents.indexes.models.DataDeletionDetectionPolicy"/>
<suppress checks="WhitespaceAround" files="com.azure.search.documents.indexes.models.SearchIndexerDataIdentity"/>
<suppress checks="WhitespaceAround" files="com.azure.search.documents.indexes.models.SimilarityAlgorithm"/>
<!-- Suppression for bug https://github.com/checkstyle/checkstyle/issues/11001 -->
<suppress checks="ParenPad" files="com.azure.ai.textanalytics.TextAnalyticsClientTestBase" lines="1020,1024"/>
</suppressions>