Skip to content

polytope/checkstyle-checks

Repository files navigation

Polytope's Checkstyle Extensions

Java CI

This repository is a collection of Checkstyle Checks which are used in Polytope's codebases.

Checks

Below is the list of checks in this repository.

Parameter Alignment

Ensures that parameters are aligned either on the same line or such that there is a line separating the parameters from left parenthesis and from the right parenthesis. See examples below

OK

methodCall(a, b, c);
methodCall(
    a,
    b,
    c
);
methodCall2(a -> {
    return b + c;
});

NOT OK

methodCall(a, 
           b, 
           c);
methodCall(a,
           b,
           c
);
methodCall(
    a,
    b,
    c);
methodCall2(
    a,
    b,
    a -> {
        return b + c;
    });

Releases

No releases published

Packages

 
 
 

Languages