We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
SLS_SUSPICIOUS_LOOP_SEARCH
1 parent e123ca1 commit e44c110Copy full SHA for e44c110
spotbugs-exclude.xml
@@ -195,9 +195,6 @@
195
<Match>
196
<Bug pattern="DRE_DECLARED_RUNTIME_EXCEPTION" />
197
</Match>
198
- <Match>
199
- <Bug pattern="SLS_SUSPICIOUS_LOOP_SEARCH" />
200
- </Match>
201
202
<Bug pattern="BAS_BLOATED_ASSIGNMENT_SCOPE" />
203
src/main/java/com/thealgorithms/ciphers/AffineCipher.java
@@ -68,6 +68,7 @@ static String decryptCipher(String cipher) {
68
// then i will be the multiplicative inverse of a
69
if (flag == 1) {
70
aInv = i;
71
+ break;
72
}
73
74
for (int i = 0; i < cipher.length(); i++) {
0 commit comments