Skip to end of banner
Go to start of banner

Draft Coding Style [WIP]

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Rule n°1 :

LF should not separate arguments of its attribute

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

Rule n°2 :

We must divide 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/


  • No labels