Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Rule n°1 :

LF control character can't should not separate arguments of its attribute

List<Mapping> interList =
mappingList.stream().filter(x -> x.getLogicalConnectionPoint().split("-")[0].equals(str))
.collect(Collectors.toList());

Rule n°2 :

A line should not measure more than 120 char

Rule n°3 https://git.opendaylight.org/gerrit/c/transportpce/+/101544/comment/042a92b9_7c6cfe19/

Rule n°2 :

We must divide intelligently line for example revision date should not be split from NS base.

...

https://git.opendaylight.org/gerrit/c/transportpce/+/101544/comment/cb351a1b_a75f6fa6/

Rule n°3 :

Setter should be separated by a LF from the allocation and the builder.

https://git.opendaylight.org/gerrit/c/transportpce/+/101544/comment/1f26424f_a793c791/

Rule n°4 :

It makes sense the arguments of the object should be in the same line.

https://git.opendaylight.org/gerrit/c/transportpce/+/101544/comment/d93e9158_9752d8a2/

Rule n°5 :

If child attributes are distributed in few lines they need the same indentation level.

https://git.opendaylight.org/gerrit/c/transportpce/+/101544/comment/d93e9158_9752d8a2/