Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commits forces each java construct to wrap if it is longer than 120
chars. Also it intends the same logical constructs on top of each other, example: myAwesomeBuilder.verrrryyyyLoooonnnnggggFoooooooooo1() .verrrryyyyLoooonnnnggggFoooooooooo2() .verrrryyyyLoooonnnnggggFoooooooooo3() or during the method call: myAwesomeMethod(verrrryyyyLoooonnnnggggFooooooooo1, verrrryyyyLoooonnnnggggFooooooooo2, verrrryyyyLoooonnnnggggFooooooooo3) on the other hand, there are some corner cases where the combination of the rules produces kind of strange looking lines like: assertEquals("User should have no roles on resource", 0, personaService.getEffectiveRolesForResource(user, resource) .size()); I.e. the method parameters are under each other and the chained method calls as well. I found this more readable, even though strange looking at the first sight. All in all, it passes the checkstyle and we can improve on it.
- Loading branch information