Skip to content

Style-check rule for constants #5362

@lujiajing1126

Description

@lujiajing1126

Please answer these questions before submitting your issue.

  • Why do you submit this issue?
  • Question or discussion
  • Bug
  • Requirement
  • Feature or performance improvement

Requirement or improvement

As discussed in PR #5357 , any constant class members MUST only contain capital characters, numbers and _, except that it can be named as logger.

The related code is listed below,

<property name="format" value="(^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$)|(^logger)"/>

We reach an agreement that this additional rule should be removed and the code should be adapted to the new style.

A new PR has to be created to focus on this issue. Also, this new PR should be merged before #5357 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions