差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

Both sides previous revision 前次修改
下次修改
前次修改
java:sonarlint:fixcodesmell [2020/08/02 23:51]
tony [Blocker]
java:sonarlint:fixcodesmell [2020/08/05 23:35] (目前版本)
tony [Critical]
行 4: 行 4:
   * [[.:​fixcodesmell:​S2178|Short-circuit logic should be used in boolean contexts (java:​S2178)]]   * [[.:​fixcodesmell:​S2178|Short-circuit logic should be used in boolean contexts (java:​S2178)]]
   * [[.:​fixcodesmell:​S128|Switch cases should end with an unconditional "​break"​ statement (java:​S128)]]   * [[.:​fixcodesmell:​S128|Switch cases should end with an unconditional "​break"​ statement (java:​S128)]]
 +===== Critical ===== 
 +  * [[.:​fixcodesmell:​S3973|A conditionally executed single line should be denoted by indentation (java:​S3973)]] 
 +  * [[.:​fixcodesmell:​S2696|Instance methods should not write to "​static"​ fields (java:​S2696))]] 
 +===== Major ===== 
 +  * [[.:​fixcodesmell:​S2131|Primitives should not be boxed just for "​String"​ conversion (java:​S2131) ]]
 ===== Minor ===== ===== Minor =====
   * [[.:​fixcodesmell:​S1126|Return of boolean expressions should not be wrapped into an "​if-then-else"​ statement (java:​S1126)]]   * [[.:​fixcodesmell:​S1126|Return of boolean expressions should not be wrapped into an "​if-then-else"​ statement (java:​S1126)]]