Skip to content

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;
    });

About

Polytope's Checkstyle Checks

Topics

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages