Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions analyzer-comments/java/leap/avoid_conditional_logic.md

This file was deleted.

3 changes: 3 additions & 0 deletions analyzer-comments/java/leap/avoid_if_statements.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# avoid `if` statements

Consider converting the `if` statement(s) into a single expression using logical operators (`&&`, `||`) or ternary operators.
3 changes: 3 additions & 0 deletions analyzer-comments/java/leap/avoid_multiple_ternary.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# avoid multiple ternary

Consider using a single ternary operator for a simpler solution.