Skip to content

Commit bee68c6

Browse files
committed
fix linting issues
1 parent 3c1013e commit bee68c6

4 files changed

Lines changed: 103 additions & 97 deletions

File tree

sdk/search/azure-search-documents/checkstyle-suppressions.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<suppress files="com.azure.search.documents.testingmodels.Book.java" checks="ParameterNameCheck" />
1111
<suppress files="com.azure.search.documents.indexes.FieldBuilderTests.java" checks="VisibilityModifierCheck" />
1212
<suppress files="com.azure.search.documents.SearchClientBuilder.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ServiceClientBuilderCheck" />
13+
<suppress files="com.azure.search.documents.SearchIndexingBufferedSenderBuilder.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ServiceClientBuilderCheck" />
1314
<suppress files="com.azure.search.documents.SearchIndexingBufferedAsyncSender.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ServiceClientCheck" />
1415
<suppress files="com.azure.search.documents.SearchIndexingBufferedSender.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ServiceClientCheck" />
1516
<suppress files="com.azure.search.documents.indexes.SearchIndexClient.java" checks="io.clientcore.linting.extensions.checkstyle.checks.ServiceClientCheck" />

sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/BasicField.java

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,12 @@
33

44
package com.azure.search.documents.indexes;
55

6-
import com.azure.search.documents.indexes.models.*;
6+
import com.azure.search.documents.indexes.models.LexicalAnalyzerName;
7+
import com.azure.search.documents.indexes.models.LexicalNormalizerName;
8+
import com.azure.search.documents.indexes.models.SearchField;
9+
import com.azure.search.documents.indexes.models.SearchIndex;
10+
import com.azure.search.documents.indexes.models.SynonymMap;
11+
import com.azure.search.documents.indexes.models.VectorEncodingFormat;
712

813
import java.lang.annotation.ElementType;
914
import java.lang.annotation.Retention;

sdk/search/azure-search-documents/src/main/java/com/azure/search/documents/indexes/SearchIndexAsyncClient.java

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
import com.azure.search.documents.implementation.FieldBuilder;
3030
import com.azure.search.documents.implementation.SearchIndexClientImpl;
3131
import com.azure.search.documents.implementation.models.CreateOrUpdateRequestAccept3;
32-
import com.azure.search.documents.indexes.models.*;
3332
import com.azure.search.documents.indexes.models.AnalyzeResult;
3433
import com.azure.search.documents.indexes.models.AnalyzeTextOptions;
3534
import com.azure.search.documents.indexes.models.GetIndexStatisticsResult;
@@ -38,6 +37,7 @@
3837
import com.azure.search.documents.indexes.models.ListSynonymMapsResult;
3938
import com.azure.search.documents.indexes.models.SearchAlias;
4039
import com.azure.search.documents.indexes.models.SearchField;
40+
import com.azure.search.documents.indexes.models.SearchFieldDataType;
4141
import com.azure.search.documents.indexes.models.SearchIndex;
4242
import com.azure.search.documents.indexes.models.SearchIndexResponse;
4343
import com.azure.search.documents.indexes.models.SearchServiceStatistics;
@@ -236,7 +236,7 @@ public SearchAsyncClient getSearchAsyncClient(String indexName) {
236236
* </table>
237237
* You can add these to a request with {@link RequestOptions#addHeader}
238238
* <p><strong>Request Body Schema</strong></p>
239-
*
239+
*
240240
* <pre>
241241
* {@code
242242
* {
@@ -261,9 +261,9 @@ public SearchAsyncClient getSearchAsyncClient(String indexName) {
261261
* }
262262
* }
263263
* </pre>
264-
*
264+
*
265265
* <p><strong>Response Body Schema</strong></p>
266-
*
266+
*
267267
* <pre>
268268
* {@code
269269
* {
@@ -381,7 +381,7 @@ public Mono<Response<Void>> deleteSynonymMapWithResponse(String name, RequestOpt
381381
* </table>
382382
* You can add these to a request with {@link RequestOptions#addHeader}
383383
* <p><strong>Response Body Schema</strong></p>
384-
*
384+
*
385385
* <pre>
386386
* {@code
387387
* {
@@ -450,7 +450,7 @@ Mono<Response<BinaryData>> getSynonymMapsWithResponse(RequestOptions requestOpti
450450
* </table>
451451
* You can add these to a request with {@link RequestOptions#addHeader}
452452
* <p><strong>Request Body Schema</strong></p>
453-
*
453+
*
454454
* <pre>
455455
* {@code
456456
* {
@@ -620,9 +620,9 @@ Mono<Response<BinaryData>> getSynonymMapsWithResponse(RequestOptions requestOpti
620620
* }
621621
* }
622622
* </pre>
623-
*
623+
*
624624
* <p><strong>Response Body Schema</strong></p>
625-
*
625+
*
626626
* <pre>
627627
* {@code
628628
* {
@@ -894,7 +894,7 @@ public Mono<Response<Void>> deleteIndexWithResponse(String name, RequestOptions
894894
* </table>
895895
* You can add these to a request with {@link RequestOptions#addHeader}
896896
* <p><strong>Request Body Schema</strong></p>
897-
*
897+
*
898898
* <pre>
899899
* {@code
900900
* {
@@ -906,9 +906,9 @@ public Mono<Response<Void>> deleteIndexWithResponse(String name, RequestOptions
906906
* }
907907
* }
908908
* </pre>
909-
*
909+
*
910910
* <p><strong>Response Body Schema</strong></p>
911-
*
911+
*
912912
* <pre>
913913
* {@code
914914
* {
@@ -1011,7 +1011,7 @@ public Mono<Response<Void>> deleteAliasWithResponse(String name, RequestOptions
10111011
* </table>
10121012
* You can add these to a request with {@link RequestOptions#addHeader}
10131013
* <p><strong>Request Body Schema</strong></p>
1014-
*
1014+
*
10151015
* <pre>
10161016
* {@code
10171017
* {
@@ -1043,9 +1043,9 @@ public Mono<Response<Void>> deleteAliasWithResponse(String name, RequestOptions
10431043
* }
10441044
* }
10451045
* </pre>
1046-
*
1046+
*
10471047
* <p><strong>Response Body Schema</strong></p>
1048-
*
1048+
*
10491049
* <pre>
10501050
* {@code
10511051
* {
@@ -1138,7 +1138,7 @@ public Mono<Response<Void>> deleteKnowledgeBaseWithResponse(String name, Request
11381138
* </table>
11391139
* You can add these to a request with {@link RequestOptions#addHeader}
11401140
* <p><strong>Request Body Schema</strong></p>
1141-
*
1141+
*
11421142
* <pre>
11431143
* {@code
11441144
* {
@@ -1161,9 +1161,9 @@ public Mono<Response<Void>> deleteKnowledgeBaseWithResponse(String name, Request
11611161
* }
11621162
* }
11631163
* </pre>
1164-
*
1164+
*
11651165
* <p><strong>Response Body Schema</strong></p>
1166-
*
1166+
*
11671167
* <pre>
11681168
* {@code
11691169
* {
@@ -2747,7 +2747,7 @@ public PagedFlux<KnowledgeSource> listKnowledgeSources(RequestOptions requestOpt
27472747
* </table>
27482748
* You can add these to a request with {@link RequestOptions#addHeader}
27492749
* <p><strong>Response Body Schema</strong></p>
2750-
*
2750+
*
27512751
* <pre>
27522752
* {@code
27532753
* {
@@ -2798,7 +2798,7 @@ Mono<Response<BinaryData>> hiddenGeneratedGetSynonymMapWithResponse(String name,
27982798
* </table>
27992799
* You can add these to a request with {@link RequestOptions#addHeader}
28002800
* <p><strong>Request Body Schema</strong></p>
2801-
*
2801+
*
28022802
* <pre>
28032803
* {@code
28042804
* {
@@ -2823,9 +2823,9 @@ Mono<Response<BinaryData>> hiddenGeneratedGetSynonymMapWithResponse(String name,
28232823
* }
28242824
* }
28252825
* </pre>
2826-
*
2826+
*
28272827
* <p><strong>Response Body Schema</strong></p>
2828-
*
2828+
*
28292829
* <pre>
28302830
* {@code
28312831
* {
@@ -2877,7 +2877,7 @@ Mono<Response<BinaryData>> hiddenGeneratedCreateSynonymMapWithResponse(BinaryDat
28772877
* </table>
28782878
* You can add these to a request with {@link RequestOptions#addHeader}
28792879
* <p><strong>Response Body Schema</strong></p>
2880-
*
2880+
*
28812881
* <pre>
28822882
* {@code
28832883
* {
@@ -3074,7 +3074,7 @@ Mono<Response<BinaryData>> hiddenGeneratedGetIndexWithResponse(String name, Requ
30743074
* </table>
30753075
* You can add these to a request with {@link RequestOptions#addHeader}
30763076
* <p><strong>Response Body Schema</strong></p>
3077-
*
3077+
*
30783078
* <pre>
30793079
* {@code
30803080
* {
@@ -3269,7 +3269,7 @@ PagedFlux<BinaryData> hiddenGeneratedListIndexes(RequestOptions requestOptions)
32693269
* </table>
32703270
* You can add these to a request with {@link RequestOptions#addHeader}
32713271
* <p><strong>Request Body Schema</strong></p>
3272-
*
3272+
*
32733273
* <pre>
32743274
* {@code
32753275
* {
@@ -3439,9 +3439,9 @@ PagedFlux<BinaryData> hiddenGeneratedListIndexes(RequestOptions requestOptions)
34393439
* }
34403440
* }
34413441
* </pre>
3442-
*
3442+
*
34433443
* <p><strong>Response Body Schema</strong></p>
3444-
*
3444+
*
34453445
* <pre>
34463446
* {@code
34473447
* {
@@ -3638,7 +3638,7 @@ Mono<Response<BinaryData>> hiddenGeneratedCreateIndexWithResponse(BinaryData ind
36383638
* </table>
36393639
* You can add these to a request with {@link RequestOptions#addHeader}
36403640
* <p><strong>Response Body Schema</strong></p>
3641-
*
3641+
*
36423642
* <pre>
36433643
* {@code
36443644
* {
@@ -3675,7 +3675,7 @@ Mono<Response<BinaryData>> hiddenGeneratedGetIndexStatisticsWithResponse(String
36753675
* </table>
36763676
* You can add these to a request with {@link RequestOptions#addHeader}
36773677
* <p><strong>Request Body Schema</strong></p>
3678-
*
3678+
*
36793679
* <pre>
36803680
* {@code
36813681
* {
@@ -3692,9 +3692,9 @@ Mono<Response<BinaryData>> hiddenGeneratedGetIndexStatisticsWithResponse(String
36923692
* }
36933693
* }
36943694
* </pre>
3695-
*
3695+
*
36963696
* <p><strong>Response Body Schema</strong></p>
3697-
*
3697+
*
36983698
* <pre>
36993699
* {@code
37003700
* {
@@ -3738,7 +3738,7 @@ Mono<Response<BinaryData>> hiddenGeneratedAnalyzeTextWithResponse(String name, B
37383738
* </table>
37393739
* You can add these to a request with {@link RequestOptions#addHeader}
37403740
* <p><strong>Response Body Schema</strong></p>
3741-
*
3741+
*
37423742
* <pre>
37433743
* {@code
37443744
* {
@@ -3777,7 +3777,7 @@ Mono<Response<BinaryData>> hiddenGeneratedGetAliasWithResponse(String name, Requ
37773777
* </table>
37783778
* You can add these to a request with {@link RequestOptions#addHeader}
37793779
* <p><strong>Response Body Schema</strong></p>
3780-
*
3780+
*
37813781
* <pre>
37823782
* {@code
37833783
* {
@@ -3814,7 +3814,7 @@ PagedFlux<BinaryData> hiddenGeneratedListAliases(RequestOptions requestOptions)
38143814
* </table>
38153815
* You can add these to a request with {@link RequestOptions#addHeader}
38163816
* <p><strong>Request Body Schema</strong></p>
3817-
*
3817+
*
38183818
* <pre>
38193819
* {@code
38203820
* {
@@ -3826,9 +3826,9 @@ PagedFlux<BinaryData> hiddenGeneratedListAliases(RequestOptions requestOptions)
38263826
* }
38273827
* }
38283828
* </pre>
3829-
*
3829+
*
38303830
* <p><strong>Response Body Schema</strong></p>
3831-
*
3831+
*
38323832
* <pre>
38333833
* {@code
38343834
* {
@@ -3867,7 +3867,7 @@ Mono<Response<BinaryData>> hiddenGeneratedCreateAliasWithResponse(BinaryData ali
38673867
* </table>
38683868
* You can add these to a request with {@link RequestOptions#addHeader}
38693869
* <p><strong>Response Body Schema</strong></p>
3870-
*
3870+
*
38713871
* <pre>
38723872
* {@code
38733873
* {
@@ -3926,7 +3926,7 @@ Mono<Response<BinaryData>> hiddenGeneratedGetKnowledgeBaseWithResponse(String na
39263926
* </table>
39273927
* You can add these to a request with {@link RequestOptions#addHeader}
39283928
* <p><strong>Response Body Schema</strong></p>
3929-
*
3929+
*
39303930
* <pre>
39313931
* {@code
39323932
* {
@@ -3983,7 +3983,7 @@ PagedFlux<BinaryData> hiddenGeneratedListKnowledgeBases(RequestOptions requestOp
39833983
* </table>
39843984
* You can add these to a request with {@link RequestOptions#addHeader}
39853985
* <p><strong>Request Body Schema</strong></p>
3986-
*
3986+
*
39873987
* <pre>
39883988
* {@code
39893989
* {
@@ -4015,9 +4015,9 @@ PagedFlux<BinaryData> hiddenGeneratedListKnowledgeBases(RequestOptions requestOp
40154015
* }
40164016
* }
40174017
* </pre>
4018-
*
4018+
*
40194019
* <p><strong>Response Body Schema</strong></p>
4020-
*
4020+
*
40214021
* <pre>
40224022
* {@code
40234023
* {
@@ -4077,7 +4077,7 @@ Mono<Response<BinaryData>> hiddenGeneratedCreateKnowledgeBaseWithResponse(Binary
40774077
* </table>
40784078
* You can add these to a request with {@link RequestOptions#addHeader}
40794079
* <p><strong>Response Body Schema</strong></p>
4080-
*
4080+
*
40814081
* <pre>
40824082
* {@code
40834083
* {
@@ -4128,7 +4128,7 @@ Mono<Response<BinaryData>> hiddenGeneratedGetKnowledgeSourceWithResponse(String
41284128
* </table>
41294129
* You can add these to a request with {@link RequestOptions#addHeader}
41304130
* <p><strong>Response Body Schema</strong></p>
4131-
*
4131+
*
41324132
* <pre>
41334133
* {@code
41344134
* {
@@ -4176,7 +4176,7 @@ PagedFlux<BinaryData> hiddenGeneratedListKnowledgeSources(RequestOptions request
41764176
* </table>
41774177
* You can add these to a request with {@link RequestOptions#addHeader}
41784178
* <p><strong>Request Body Schema</strong></p>
4179-
*
4179+
*
41804180
* <pre>
41814181
* {@code
41824182
* {
@@ -4199,9 +4199,9 @@ PagedFlux<BinaryData> hiddenGeneratedListKnowledgeSources(RequestOptions request
41994199
* }
42004200
* }
42014201
* </pre>
4202-
*
4202+
*
42034203
* <p><strong>Response Body Schema</strong></p>
4204-
*
4204+
*
42054205
* <pre>
42064206
* {@code
42074207
* {
@@ -4252,7 +4252,7 @@ Mono<Response<BinaryData>> hiddenGeneratedCreateKnowledgeSourceWithResponse(Bina
42524252
* </table>
42534253
* You can add these to a request with {@link RequestOptions#addHeader}
42544254
* <p><strong>Response Body Schema</strong></p>
4255-
*
4255+
*
42564256
* <pre>
42574257
* {@code
42584258
* {
@@ -4318,7 +4318,7 @@ Mono<Response<BinaryData>> hiddenGeneratedGetKnowledgeSourceStatusWithResponse(S
43184318
* </table>
43194319
* You can add these to a request with {@link RequestOptions#addHeader}
43204320
* <p><strong>Response Body Schema</strong></p>
4321-
*
4321+
*
43224322
* <pre>
43234323
* {@code
43244324
* {
@@ -4382,7 +4382,7 @@ Mono<Response<BinaryData>> hiddenGeneratedGetServiceStatisticsWithResponse(Reque
43824382
* </table>
43834383
* You can add these to a request with {@link RequestOptions#addHeader}
43844384
* <p><strong>Response Body Schema</strong></p>
4385-
*
4385+
*
43864386
* <pre>
43874387
* {@code
43884388
* {

0 commit comments

Comments
 (0)