Skip to content

Unused imports in generated classes #102

@RikkiGibson

Description

@RikkiGibson

azure-libraries-for-java CI is giving Checkstyle errors like the following:

[ERROR] src/main/java/com/microsoft/azure/v2/management/resources/implementation/ResourcesInner.java:[11,8] (imports) UnusedImports: Unused import - com.google.common.reflect.TypeToken.

We need to refine the import checks in the generator so they only add imports when needed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions