Skip to content

Checkstyle severity level is incorrect #67

Open
@Spreeuw

Description

@Spreeuw

in the CheckStyleOutput class, the severity is set to ERROR:

' <error line="%d" severity="ERROR" message="%s" source="%s" />',

Following the Checkstyle specification, allowed values are: ignore, info, warning, error, all lowercase.

When using cs2pr to annotate files in github, this results in the annotations showing as warning (default) instead.

I think it would actually make sense to use warning for deprecation notices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions