Skip to content

code format issue, javadoc causes checkstyle error #3200

@weidongxu-microsoft

Description

@weidongxu-microsoft

generated code

     * @throws com.azure.resourcemanager.certificateregistrationcertifica.models.DefaultErrorResponseErrorException
     * thrown if the request is rejected by server.

error

11:31:35.890 cmdout 	[Java-Sdk-Automation] [ERROR] /mnt/vss/_work/1/s/azure-sdk-for-java/sdk/certificateregistrationcertifica/azure-resourcemanager-certificateregistrationcertifica/src/main/java/com/azure/resourcemanager/certificateregistrationcertifica/models/AppServiceCertificateOrders.java:22: Description for javadoc throw must be on same the same line. [JavadocFormatting]

from Alan, either fix the config https://github.com/microsoft/typespec/blob/main/packages/http-client-java/generator/eclipse-format-azure-sdk-for-java.xml#L15
or allow this in lint https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/tools/linting-extensions/src/main/java/io/clientcore/linting/extensions/checkstyle/checks/JavadocFormatting.java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions