Skip to content

Commit 449a783

Browse files
SONARJAVA-5662 S6437 Remove an FP-prone signature (#5226)
1 parent e8ee20b commit 449a783

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

java-checks-aws/src/main/resources/org/sonar/java/checks/security/S6437-methods.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7220,7 +7220,6 @@
72207220
{"cls":"org.springframework.ws.soap.security.support.KeyManagersFactoryBean","name":"setPassword","args":["java.lang.String"],"indices":[0]},
72217221
{"cls":"org.springframework.ws.soap.security.support.KeyStoreFactoryBean","name":"setPassword","args":["java.lang.String"],"indices":[0]},
72227222
{"cls":"org.springframework.ws.soap.security.wss4j2.Wss4jSecurityInterceptor","name":"setSecurementPassword","args":["java.lang.String"],"indices":[0]},
7223-
{"cls":"org.springframework.ws.soap.security.wss4j2.Wss4jSecurityInterceptor","name":"setSecurementPasswordType","args":["java.lang.String"],"indices":[0]},
72247223
{"cls":"org.springframework.ws.soap.security.wss4j2.callback.KeyStoreCallbackHandler","name":"setPrivateKeyPassword","args":["java.lang.String"],"indices":[0]},
72257224
{"cls":"org.springframework.ws.soap.security.wss4j2.callback.KeyStoreCallbackHandler","name":"setSymmetricKeyPassword","args":["java.lang.String"],"indices":[0]},
72267225
{"cls":"org.springframework.ws.soap.security.wss4j2.support.CryptoFactoryBean","name":"setKeyStorePassword","args":["java.lang.String"],"indices":[0]},

java-checks-aws/src/test/java/org/sonar/java/checks/security/HardCodedCredentialsShouldNotBeUsedCheckTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ void test_credential_file_content() throws IOException {
125125
.orElse(0);
126126
// There are three potential intersections we know of. We have checked manually that there are no actual method in the intersection.
127127
assertThat(intersectCount).isEqualTo(3);
128-
assertThat(methods).hasSize(2730);
128+
assertThat(methods).hasSize(2729);
129129
}
130130

131131
@Test

0 commit comments

Comments
 (0)