Skip to content
Snippets Groups Projects
  1. Jun 23, 2022
  2. Jun 16, 2022
  3. Jun 08, 2022
  4. Jun 01, 2022
  5. May 05, 2022
    • Lars Johansson's avatar
      Fix issues as noted by SonarLint + enum comparison · d35ccfb4
      Lars Johansson authored
      Assignments should not be redundant
      Collection sizes and array length comparisons should make sense
      Conditionally executed code should be reachable
      Empty arrays and collections should be returned instead of null
      Local variables should not shadow class fields
      Null pointers should not be dereferenced
      Pattern Matching for "instanceof" operator should be used instead of simple "instanceof" + cast
      Return of boolean expressions should not be wrapped into an "if-then-else" statement
      Sections of code should not be commented out
      "switch" statements should have at least 3 "case" clauses
      Two branches in a conditional structure should not have exactly the same implementation
      d35ccfb4
    • Lars Johansson's avatar
      Fix issues as noted by SonarLint · 9ee6b80c
      Lars Johansson authored
      Declarations should use Java collection interfaces such as "List" rather than specific implementation classes such as "LinkedList"
      Empty statements should be removed
      JUnit assertTrue/assertFalse should be simplified to the corresponding dedicated assertion
      JUnit5 test classes and methods should have default package visibility
      Methods and field names should not be the same or differ only by capitalization
      Nested "enum"s should not be declared static
      9ee6b80c
  6. May 04, 2022
  7. May 03, 2022
  8. May 02, 2022
  9. Apr 29, 2022
  10. Apr 28, 2022
  11. Apr 21, 2022
  12. Apr 19, 2022
  13. Apr 08, 2022
  14. Apr 05, 2022
  15. Apr 01, 2022
  16. Mar 31, 2022
Loading