mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-06 22:15:06 +00:00
squid:UselessParenthesesCheck - Useless parentheses around expressions should be removed to prevent any misunderstanding
This commit is contained in:
1 parent
ab19c47415
commit
046e131119
10 files changed
+13
-13
No files matched your search
@@ -143,6 +143,6 @@ public class App {
|
||||
} catch (InterruptedException e) {
|
||||
System.out.println(e);
|
||||
}
|
||||
return (i) * (i + 1) / 2;
|
||||
return i * (i + 1) / 2;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user