Skip to content

Commit

Permalink
APPSEC-1695 Rule S6437: Remove overlapping method signatures (#4784)
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrik-buchwald-sonarsource authored Apr 29, 2024
1 parent dbe4541 commit 308fcf3
Showing 1 changed file with 0 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -217,9 +217,7 @@
{"cls":"cn.hutool.poi.excel.WorkbookUtil","name":"createSXSSFBook","args":["java.io.InputStream","java.lang.String"],"indices":[1]},
{"cls":"cn.jpush.api.JPushClient","name":"JPushClient","args":["java.lang.String","java.lang.String"],"indices":[0]},
{"cls":"cn.jpush.api.JPushClient","name":"JPushClient","args":["java.lang.String","java.lang.String","*","*"],"indices":[0]},
{"cls":"cn.jpush.api.JPushClient","name":"JPushClient","args":["java.lang.String","java.lang.String","boolean","long"],"indices":[0]},
{"cls":"cn.jpush.api.JPushClient","name":"JPushClient","args":["java.lang.String","java.lang.String","int"],"indices":[0]},
{"cls":"cn.jpush.api.JPushClient","name":"JPushClient","args":["java.lang.String","java.lang.String","int","*"],"indices":[0]},
{"cls":"cn.jpush.api.JPushClient","name":"JPushClient","args":["java.lang.String","java.lang.String","int","*","*"],"indices":[0]},
{"cls":"cn.jpush.api.JPushClient","name":"JPushClient","args":["java.lang.String","java.lang.String","int","*","*","boolean","long"],"indices":[0]},
{"cls":"cn.jpush.api.JPushClient","name":"createDailySchedule","args":["java.lang.String","java.lang.String","java.lang.String","java.lang.String","cn.jpush.api.push.model.PushPayload","java.lang.String","java.lang.String"],"indices":[5]},
Expand All @@ -236,7 +234,6 @@
{"cls":"cn.jpush.api.device.DeviceClient","name":"DeviceClient","args":["java.lang.String","java.lang.String"],"indices":[0]},
{"cls":"cn.jpush.api.device.DeviceClient","name":"DeviceClient","args":["java.lang.String","java.lang.String","*","*"],"indices":[0]},
{"cls":"cn.jpush.api.device.DeviceClient","name":"DeviceClient","args":["java.lang.String","java.lang.String","int"],"indices":[0]},
{"cls":"cn.jpush.api.device.DeviceClient","name":"DeviceClient","args":["java.lang.String","java.lang.String","int","*"],"indices":[0]},
{"cls":"cn.jpush.api.file.FileClient","name":"FileClient","args":["java.lang.String","java.lang.String"],"indices":[0]},
{"cls":"cn.jpush.api.file.FileClient","name":"FileClient","args":["java.lang.String","java.lang.String","*","*"],"indices":[0]},
{"cls":"cn.jpush.api.image.ImageClient","name":"ImageClient","args":["java.lang.String","java.lang.String"],"indices":[0]},
Expand All @@ -246,17 +243,12 @@
{"cls":"cn.jpush.api.push.PushClient","name":"PushClient","args":["java.lang.String","java.lang.String"],"indices":[0]},
{"cls":"cn.jpush.api.push.PushClient","name":"PushClient","args":["java.lang.String","java.lang.String","*"],"indices":[0]},
{"cls":"cn.jpush.api.push.PushClient","name":"PushClient","args":["java.lang.String","java.lang.String","*","*"],"indices":[0]},
{"cls":"cn.jpush.api.push.PushClient","name":"PushClient","args":["java.lang.String","java.lang.String","boolean","long"],"indices":[0]},
{"cls":"cn.jpush.api.push.PushClient","name":"PushClient","args":["java.lang.String","java.lang.String","int"],"indices":[0]},
{"cls":"cn.jpush.api.push.PushClient","name":"PushClient","args":["java.lang.String","java.lang.String","int","*"],"indices":[0]},
{"cls":"cn.jpush.api.report.ReportClient","name":"ReportClient","args":["java.lang.String","java.lang.String"],"indices":[0]},
{"cls":"cn.jpush.api.report.ReportClient","name":"ReportClient","args":["java.lang.String","java.lang.String","*","*"],"indices":[0]},
{"cls":"cn.jpush.api.report.ReportClient","name":"ReportClient","args":["java.lang.String","java.lang.String","int"],"indices":[0]},
{"cls":"cn.jpush.api.report.ReportClient","name":"ReportClient","args":["java.lang.String","java.lang.String","int","*"],"indices":[0]},
{"cls":"cn.jpush.api.schedule.ScheduleClient","name":"ScheduleClient","args":["java.lang.String","java.lang.String"],"indices":[0]},
{"cls":"cn.jpush.api.schedule.ScheduleClient","name":"ScheduleClient","args":["java.lang.String","java.lang.String","*","*"],"indices":[0]},
{"cls":"cn.jpush.api.schedule.ScheduleClient","name":"ScheduleClient","args":["java.lang.String","java.lang.String","int"],"indices":[0]},
{"cls":"cn.jpush.api.schedule.ScheduleClient","name":"ScheduleClient","args":["java.lang.String","java.lang.String","int","*"],"indices":[0]},
{"cls":"cn.jpush.api.schedule.ScheduleClient","name":"createSchedule","args":["cn.jpush.api.schedule.model.SchedulePayload","java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"com.alibaba.citrus.service.mail.session.MailSession","name":"setPassword","args":["java.lang.String"],"indices":[0]},
{"cls":"com.alibaba.citrus.service.uribroker.uri.URIBroker","name":"setLoginPassword","args":["java.lang.String"],"indices":[0]},
Expand Down Expand Up @@ -1590,7 +1582,6 @@
{"cls":"com.loopj.android.http.AsyncHttpClient","name":"setBasicAuth","args":["java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"com.loopj.android.http.AsyncHttpClient","name":"setBasicAuth","args":["java.lang.String","java.lang.String","*"],"indices":[1]},
{"cls":"com.loopj.android.http.AsyncHttpClient","name":"setBasicAuth","args":["java.lang.String","java.lang.String","*","boolean"],"indices":[1]},
{"cls":"com.loopj.android.http.AsyncHttpClient","name":"setBasicAuth","args":["java.lang.String","java.lang.String","boolean"],"indices":[1]},
{"cls":"com.loopj.android.http.AsyncHttpClient","name":"setBearerAuth","args":["java.lang.String"],"indices":[0]},
{"cls":"com.loopj.android.http.AsyncHttpClient","name":"setBearerAuth","args":["java.lang.String","*","boolean"],"indices":[0]},
{"cls":"com.loopj.android.http.AsyncHttpClient","name":"setProxy","args":["java.lang.String","int","java.lang.String","java.lang.String"],"indices":[3]},
Expand Down Expand Up @@ -2100,7 +2091,6 @@
{"cls":"com.searchly.jestdroid.DroidClientConfig$Builder","name":"defaultCredentials","args":["java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"com.sendgrid.SendGrid","name":"SendGrid","args":["java.lang.String"],"indices":[0]},
{"cls":"com.sendgrid.SendGrid","name":"SendGrid","args":["java.lang.String","*"],"indices":[0]},
{"cls":"com.sendgrid.SendGrid","name":"SendGrid","args":["java.lang.String","java.lang.Boolean"],"indices":[0]},
{"cls":"com.sendgrid.SendGrid","name":"initializeSendGrid","args":["java.lang.String"],"indices":[0]},
{"cls":"com.sendgrid.TwilioEmail","name":"TwilioEmail","args":["java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"com.sendgrid.TwilioEmail","name":"TwilioEmail","args":["java.lang.String","java.lang.String","*"],"indices":[1]},
Expand Down Expand Up @@ -2232,11 +2222,9 @@
{"cls":"com.sun.enterprise.security.ee.authentication.ProgrammaticLogin","name":"login","args":["java.lang.String","char[]"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.ProgrammaticLogin","name":"login","args":["java.lang.String","char[]","*","*"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.ProgrammaticLogin","name":"login","args":["java.lang.String","char[]","java.lang.String","*","*","boolean"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.ProgrammaticLogin","name":"login","args":["java.lang.String","char[]","java.lang.String","boolean"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.ProgrammaticLogin","name":"login","args":["java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.ProgrammaticLogin","name":"login","args":["java.lang.String","java.lang.String","*","*"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.ProgrammaticLogin","name":"login","args":["java.lang.String","java.lang.String","java.lang.String","*","*","boolean"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.ProgrammaticLogin","name":"login","args":["java.lang.String","java.lang.String","java.lang.String","boolean"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.glassfish.jdbc.JDBCRealm","name":"authenticate","args":["java.lang.String","char[]"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.authentication.glassfish.pam.PamRealm","name":"authenticate","args":["java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"com.sun.enterprise.security.ee.web.integration.WebPrincipal","name":"WebPrincipal","args":["java.lang.String","java.lang.String","com.sun.enterprise.security.SecurityContext"],"indices":[1]},
Expand Down Expand Up @@ -2313,7 +2301,6 @@
{"cls":"com.sun.web.security.RealmAdapter","name":"authenticate","args":["java.lang.String","char[]"],"indices":[1]},
{"cls":"com.sun.web.security.RealmAdapter","name":"authenticate","args":["org.apache.catalina.HttpRequest","java.lang.String","char[]"],"indices":[2]},
{"cls":"com.sun.web.security.WebProgrammaticLoginImpl","name":"login","args":["java.lang.String","char[]","java.lang.String","*","*"],"indices":[1]},
{"cls":"com.sun.web.security.WebProgrammaticLoginImpl","name":"login","args":["java.lang.String","char[]","java.lang.String","javax.servlet.http.HttpServletRequest","javax.servlet.http.HttpServletResponse"],"indices":[1]},
{"cls":"com.sun.xml.ws.security.IssuedTokenContext","name":"setProofKey","args":["byte[]"],"indices":[0]},
{"cls":"com.sun.xml.ws.security.SecurityContextTokenInfo","name":"addInstance","args":["java.lang.String","byte[]"],"indices":[1]},
{"cls":"com.sun.xml.ws.security.impl.IssuedTokenContextImpl","name":"setProofKey","args":["byte[]"],"indices":[0]},
Expand Down Expand Up @@ -3143,24 +3130,16 @@
{"cls":"java.security.KeyStore","name":"getInstance","args":["java.io.File","char[]"],"indices":[1]},
{"cls":"java.security.KeyStore","name":"getKey","args":["java.lang.String","char[]"],"indices":[1]},
{"cls":"java.security.KeyStore","name":"load","args":["*","char[]"],"indices":[1]},
{"cls":"java.security.KeyStore","name":"load","args":["java.io.InputStream","char[]"],"indices":[1]},
{"cls":"java.security.KeyStore","name":"setKeyEntry","args":["java.lang.String","*","char[]","*"],"indices":[2]},
{"cls":"java.security.KeyStore","name":"setKeyEntry","args":["java.lang.String","*","char[]","java.security.cert.Certificate[]"],"indices":[2]},
{"cls":"java.security.KeyStore","name":"setKeyEntry","args":["java.lang.String","byte[]","*"],"indices":[1]},
{"cls":"java.security.KeyStore","name":"setKeyEntry","args":["java.lang.String","byte[]","java.security.cert.Certificate[]"],"indices":[1]},
{"cls":"java.security.KeyStore","name":"store","args":["*","char[]"],"indices":[1]},
{"cls":"java.security.KeyStore","name":"store","args":["java.io.OutputStream","char[]"],"indices":[1]},
{"cls":"java.security.KeyStore$PasswordProtection","name":"PasswordProtection","args":["char[]"],"indices":[0]},
{"cls":"java.security.KeyStore$PasswordProtection","name":"PasswordProtection","args":["char[]","java.lang.String","java.security.spec.AlgorithmParameterSpec"],"indices":[0]},
{"cls":"java.security.KeyStoreSpi","name":"engineGetKey","args":["java.lang.String","char[]"],"indices":[1]},
{"cls":"java.security.KeyStoreSpi","name":"engineLoad","args":["*","char[]"],"indices":[1]},
{"cls":"java.security.KeyStoreSpi","name":"engineLoad","args":["java.io.InputStream","char[]"],"indices":[1]},
{"cls":"java.security.KeyStoreSpi","name":"engineSetKeyEntry","args":["java.lang.String","*","char[]","*"],"indices":[2]},
{"cls":"java.security.KeyStoreSpi","name":"engineSetKeyEntry","args":["java.lang.String","*","char[]","java.security.cert.Certificate[]"],"indices":[2]},
{"cls":"java.security.KeyStoreSpi","name":"engineSetKeyEntry","args":["java.lang.String","byte[]","*"],"indices":[1]},
{"cls":"java.security.KeyStoreSpi","name":"engineSetKeyEntry","args":["java.lang.String","byte[]","java.security.cert.Certificate[]"],"indices":[1]},
{"cls":"java.security.KeyStoreSpi","name":"engineStore","args":["*","char[]"],"indices":[1]},
{"cls":"java.security.KeyStoreSpi","name":"engineStore","args":["java.io.OutputStream","char[]"],"indices":[1]},
{"cls":"java.security.cert.X509CertSelector","name":"setSubjectPublicKey","args":["byte[]"],"indices":[0]},
{"cls":"java.security.spec.EncodedKeySpec","name":"EncodedKeySpec","args":["byte[]"],"indices":[0]},
{"cls":"java.security.spec.PKCS8EncodedKeySpec","name":"PKCS8EncodedKeySpec","args":["byte[]"],"indices":[0]},
Expand Down Expand Up @@ -4020,7 +3999,6 @@
{"cls":"org.apache.directory.server.core.api.authn.ppolicy.PasswordValidator","name":"validate","args":["java.lang.String","*"],"indices":[0]},
{"cls":"org.apache.directory.server.core.integ.AbstractLdapTestUnit","name":"changeCertificate","args":["java.lang.String","java.lang.String","java.lang.String","java.lang.String","int","java.lang.String"],"indices":[1]},
{"cls":"org.apache.directory.server.core.integ.IntegrationUtils","name":"getConnectionAs","args":["org.apache.directory.server.core.api.DirectoryService","*","java.lang.String"],"indices":[2]},
{"cls":"org.apache.directory.server.core.integ.IntegrationUtils","name":"getConnectionAs","args":["org.apache.directory.server.core.api.DirectoryService","java.lang.String","java.lang.String"],"indices":[2]},
{"cls":"org.apache.directory.server.core.integ.IntegrationUtils","name":"getNetworkConnectionAs","args":["java.lang.String","int","java.lang.String","java.lang.String"],"indices":[3]},
{"cls":"org.apache.directory.server.core.integ.IntegrationUtils","name":"getNetworkConnectionAs","args":["org.apache.directory.server.ldap.LdapServer","java.lang.String","java.lang.String"],"indices":[2]},
{"cls":"org.apache.directory.server.core.security.CertificateUtil","name":"createTempKeyStore","args":["java.lang.String","char[]"],"indices":[1]},
Expand Down Expand Up @@ -4128,7 +4106,6 @@
{"cls":"org.apache.hc.client5.http.fluent.Executor","name":"auth","args":["*","java.lang.String","char[]"],"indices":[2]},
{"cls":"org.apache.hc.client5.http.fluent.Executor","name":"auth","args":["*","java.lang.String","char[]","java.lang.String","java.lang.String"],"indices":[2]},
{"cls":"org.apache.hc.client5.http.impl.auth.CredentialsProviderBuilder","name":"add","args":["*","java.lang.String","char[]"],"indices":[2]},
{"cls":"org.apache.hc.client5.http.impl.auth.CredentialsProviderBuilder","name":"add","args":["org.apache.hc.client5.http.auth.AuthScope","java.lang.String","char[]"],"indices":[2]},
{"cls":"org.apache.hc.client5.http.impl.auth.NTLMEngine","name":"generateType3Msg","args":["java.lang.String","char[]","java.lang.String","java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"org.apache.hc.core5.benchmark.BenchmarkConfig$Builder","name":"setIdentityStorePassword","args":["java.lang.String"],"indices":[0]},
{"cls":"org.apache.hc.core5.benchmark.BenchmarkConfig$Builder","name":"setTrustStorePassword","args":["java.lang.String"],"indices":[0]},
Expand Down Expand Up @@ -5521,7 +5498,6 @@
{"cls":"org.igniterealtime.smack.examples.WebSocketConnection","name":"testWebSocketConnection","args":["java.lang.String","java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"org.igniterealtime.smack.examples.WebSocketConnection","name":"testWebSocketConnection","args":["java.lang.String","java.lang.String","java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"org.igniterealtime.smack.examples.XmppTools","name":"createAccount","args":["*","*","java.lang.String"],"indices":[2]},
{"cls":"org.igniterealtime.smack.examples.XmppTools","name":"createAccount","args":["java.lang.String","java.lang.String","java.lang.String"],"indices":[2]},
{"cls":"org.infinispan.RestExample","name":"getMethod","args":["java.lang.String","java.lang.String","java.lang.String"],"indices":[2]},
{"cls":"org.infinispan.RestExample","name":"putMethod","args":["java.lang.String","java.lang.String","java.lang.String","java.lang.String"],"indices":[3]},
{"cls":"org.infinispan.cli.Context","name":"connect","args":["*","java.lang.String","java.lang.String","java.lang.String"],"indices":[3]},
Expand Down Expand Up @@ -5883,7 +5859,6 @@
{"cls":"org.jivesoftware.smack.AbstractXMPPConnection","name":"login","args":["java.lang.CharSequence","java.lang.String","*"],"indices":[1]},
{"cls":"org.jivesoftware.smack.ConnectionConfiguration$Builder","name":"setUsernameAndPassword","args":["java.lang.CharSequence","java.lang.String"],"indices":[1]},
{"cls":"org.jivesoftware.smack.ConnectionConfiguration$Builder","name":"setXmppAddressAndPassword","args":["*","java.lang.String"],"indices":[1]},
{"cls":"org.jivesoftware.smack.ConnectionConfiguration$Builder","name":"setXmppAddressAndPassword","args":["java.lang.CharSequence","java.lang.String"],"indices":[1]},
{"cls":"org.jivesoftware.smack.DummyConnection","name":"DummyConnection","args":["java.lang.CharSequence","java.lang.String","java.lang.String"],"indices":[1]},
{"cls":"org.jivesoftware.smack.bosh.XMPPBOSHConnection","name":"XMPPBOSHConnection","args":["java.lang.String","java.lang.String","boolean","java.lang.String","int","java.lang.String","*"],"indices":[1]},
{"cls":"org.jivesoftware.smack.c2s.internal.WalkStateGraphContext$Builder","name":"withLoginContext","args":["java.lang.String","java.lang.String","*"],"indices":[1]},
Expand Down

0 comments on commit 308fcf3

Please sign in to comment.