Best practices for handlers (readers/writers)ΒΆ

Do not push code that contains following:

  1. Static imports
  2. Commented out code
  3. Reflection
  4. Trailing whitespaces or tabs
  5. Double blank lines

Before pushing the code make sure:

  1. New classes/interfaces have the correct license header
  2. New classes/interfaces/yang model have correct date
  3. All new dependencies and imports are actually used
  4. All variables/methods are actually used
  5. All defined exceptions can be thrown from the code
  6. Comments are appropriate to the code behavior
  7. Code has correct spacing
  8. All comments are in English
  • Constants
    • Chunk
    • Show commands
    • java regexes