Skip to content

Code formatting issues #5336

@pkiraly

Description

@pkiraly

I just found that Dataverse already have a checkstyle.xml. Most of the rules are commented out, but even the remaining produce 200+ reported violation of the ruleset.

The command to check errors:

mvn clean checkstyle:checkstyle

This generates the HTML page 'target/site/checkstyle.html'.

It is clear if you open any Java code, that the number of commiters working with different coding style, so the result is not uniformed. Clearer code does not improve the software, but helps lowering the burden of maintenance and making the code more readable. My past experiences with code clearing efforts suggest, that this is an ongoing process: you have to run checks again and again, and clearing code constantly.

Code cleaning on the other hand is an ideal task if you, as a novice in the community just would like to test the water and try to understand the structure of the code. It doesn't require of deep knowledge of the code, and still, you can contribute with some useful thing.

I see three subtasks here:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions