You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed that you have 8 violations of the Sonar rule RSPEC-1940 "Boolean checks should not be inverted". Although these violations are considered minor, they make the code less readable. Here is an example of the changes our automatic code remediation solution could bring to you. Its use is completely free for all opensource projects. You can use it without moderation.
org\biojava\nbio\structure\secstruc\SecStrucTools.java
@@ -58,5 +58,5 @@
if (g.hasAminoAtoms()) {
Object p = g.getProperty(Group.SEC_STRUC);
- if (!(p == null)) {
+ if (p != null) {
SecStrucInfo ss = (SecStrucInfo) p;
listSSI.add(ss);
If you are interested you can go to the page https://indepth.fr/ and follow the links to download the indepth-cli application which is the client interface of our application. You also have several videos of less than a minute that explain how to launch your first remediation.
If you have the slightest difficulty, I will stay tuned to help you get to grips with Indepth.
The text was updated successfully, but these errors were encountered:
jlerbsc
changed the title
Suggestion: Sonar RSPEC-1940 "Boolean checks should not be inverted"
Quality: Sonar RSPEC-1940 "Boolean checks should not be inverted"
Jan 31, 2024
We noticed that you have 8 violations of the Sonar rule RSPEC-1940 "Boolean checks should not be inverted". Although these violations are considered minor, they make the code less readable. Here is an example of the changes our automatic code remediation solution could bring to you. Its use is completely free for all opensource projects. You can use it without moderation.
Below is another example
If you are interested you can go to the page https://indepth.fr/ and follow the links to download the indepth-cli application which is the client interface of our application. You also have several videos of less than a minute that explain how to launch your first remediation.
If you have the slightest difficulty, I will stay tuned to help you get to grips with Indepth.
The text was updated successfully, but these errors were encountered: