舊版 反向連結 目錄表 SonarLint | Fix code smell Blocker Critical Major Minor SonarLint SonarLint | Fix code smell Blocker Short-circuit logic should be used in boolean contexts (java:S2178) Switch cases should end with an unconditional "break" statement (java:S128) Critical A conditionally executed single line should be denoted by indentation (java:S3973) Instance methods should not write to "static" fields (java:S2696)) Major Primitives should not be boxed just for "String" conversion (java:S2131) Minor Return of boolean expressions should not be wrapped into an "if-then-else" statement (java:S1126) View the discussion thread.