|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | + |
| 3 | +<FindBugsFilter xmlns="https://github.com/spotbugs/filter/3.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd"> |
| 5 | + <Match> |
| 6 | + <Bug pattern="BC_UNCONFIRMED_CAST_OF_RETURN_VALUE" /> |
| 7 | + <Or> |
| 8 | + <Class name="com.azure.jedis.ApiManager" /> |
| 9 | + <Class name="com.azure.redisson.sample.AuthenticateWithTokenCache" /> |
| 10 | + <Class name="com.azure.redisson.sample.HandleReauthentication" /> |
| 11 | + <Class name="com.azure.redisson.sample.HelloWorld" /> |
| 12 | + </Or> |
| 13 | + </Match> |
| 14 | + <Match> |
| 15 | + <Bug pattern="CT_CONSTRUCTOR_THROW" /> |
| 16 | + <Or> |
| 17 | + <Class name="com.azure.identity.AzurePipelinesCredential" /> |
| 18 | + <Class name="com.azure.identity.implementation.IdentityClient" /> |
| 19 | + <Class name="com.azure.identity.implementation.IdentitySyncClient" /> |
| 20 | + </Or> |
| 21 | + </Match> |
| 22 | + <Match> |
| 23 | + <Bug pattern="DE_MIGHT_IGNORE" /> |
| 24 | + <Class name="com.azure.identity.implementation.IdentitySyncClient" /> |
| 25 | + </Match> |
| 26 | + <Match> |
| 27 | + <Bug pattern="DLS_DEAD_LOCAL_STORE" /> |
| 28 | + <Or> |
| 29 | + <Class name="com.azure.identity.credential.JavaDocCodeSnippets" /> |
| 30 | + <Class name="com.azure.lettuce.sample.HandleReauthentication" /> |
| 31 | + <Class name="com.azure.lettuce.sample.withcredentialprovider.HandleReauthentication" /> |
| 32 | + <Class name="com.azure.redisson.sample.AuthenticateWithTokenCache" /> |
| 33 | + <Class name="com.azure.redisson.sample.HandleReauthentication" /> |
| 34 | + <Class name="com.azure.redisson.sample.HelloWorld" /> |
| 35 | + </Or> |
| 36 | + </Match> |
| 37 | + <Match> |
| 38 | + <Bug pattern="DMI_HARDCODED_ABSOLUTE_FILENAME" /> |
| 39 | + <Or> |
| 40 | + <Class name="com.azure.identity.implementation.ValidationUtilTests" /> |
| 41 | + <Class name="com.azure.identity.implementation.util.ValidationUtil" /> |
| 42 | + </Or> |
| 43 | + </Match> |
| 44 | + <Match> |
| 45 | + <Bug pattern="DM_DEFAULT_ENCODING" /> |
| 46 | + <Or> |
| 47 | + <Class name="LiveManagedIdentityTests" /> |
| 48 | + <Class name="com.azure.identity.AuthenticationRecordTest" /> |
| 49 | + <Class name="com.azure.identity.implementation.PowershellManager" /> |
| 50 | + </Or> |
| 51 | + </Match> |
| 52 | + <Match> |
| 53 | + <Bug pattern="DM_STRING_TOSTRING" /> |
| 54 | + <Class name="com.azure.redisson.sample.AuthenticateWithTokenCache" /> |
| 55 | + </Match> |
| 56 | + <Match> |
| 57 | + <Bug pattern="EI_EXPOSE_REP" /> |
| 58 | + <Or> |
| 59 | + <Class name="com.azure.identity.implementation.IdentityClient" /> |
| 60 | + <Class name="com.azure.identity.implementation.IdentityClientOptions" /> |
| 61 | + <Class name="com.azure.identity.implementation.IdentitySyncClient" /> |
| 62 | + <Class name="com.azure.identity.implementation.MsalAuthenticationAccount" /> |
| 63 | + <Class name="com.azure.identity.util.EmptyEnvironmentConfigurationSource" /> |
| 64 | + </Or> |
| 65 | + </Match> |
| 66 | + <Match> |
| 67 | + <Bug pattern="EI_EXPOSE_REP2" /> |
| 68 | + <Or> |
| 69 | + <Class name="com.azure.identity.implementation.IdentityClientBuilder" /> |
| 70 | + <Class name="com.azure.identity.implementation.IdentityClientOptions" /> |
| 71 | + <Class name="com.azure.identity.implementation.MsalAuthenticationAccount" /> |
| 72 | + <Class name="com.azure.jedis.sample.AuthenticateWithTokenCache$TokenRefreshCache" /> |
| 73 | + </Or> |
| 74 | + </Match> |
| 75 | + <Match> |
| 76 | + <Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS" /> |
| 77 | + <Class name="com.azure.identity.implementation.ValidationUtilTests$TestFile" /> |
| 78 | + </Match> |
| 79 | + <Match> |
| 80 | + <Bug pattern="MC_OVERRIDABLE_METHOD_CALL_IN_CONSTRUCTOR" /> |
| 81 | + <Or> |
| 82 | + <Class name="com.azure.identity.DeviceCodeCredentialBuilder" /> |
| 83 | + <Class name="com.azure.identity.implementation.IdentityClient" /> |
| 84 | + <Class name="com.azure.identity.implementation.IdentitySyncClient" /> |
| 85 | + <Class name="com.azure.identity.implementation.LinuxKeyRingAccessor$GError" /> |
| 86 | + <Class name="com.azure.identity.implementation.WindowsCredentialApi$CREDENTIAL" /> |
| 87 | + <Class name="com.azure.identity.implementation.WindowsCredentialApi$PCREDENTIAL" /> |
| 88 | + </Or> |
| 89 | + </Match> |
| 90 | + <Match> |
| 91 | + <Bug pattern="NM_FIELD_NAMING_CONVENTION" /> |
| 92 | + <Or> |
| 93 | + <Class name="com.azure.identity.implementation.WindowsCredentialApi$CREDENTIAL" /> |
| 94 | + <Class name="com.azure.identity.implementation.WindowsCredentialApi$CREDENTIAL_ATTRIBUTE" /> |
| 95 | + </Or> |
| 96 | + </Match> |
| 97 | + <Match> |
| 98 | + <Bug pattern="NP_NULL_ON_SOME_PATH" /> |
| 99 | + <Or> |
| 100 | + <Class name="com.azure.identity.implementation.IdentityClient" /> |
| 101 | + <Class name="com.azure.identity.implementation.ValidationUtilTests" /> |
| 102 | + </Or> |
| 103 | + </Match> |
| 104 | + <Match> |
| 105 | + <Bug pattern="NP_NULL_ON_SOME_PATH_EXCEPTION" /> |
| 106 | + <Class name="com.azure.identity.implementation.IdentityClient" /> |
| 107 | + </Match> |
| 108 | + <Match> |
| 109 | + <Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" /> |
| 110 | + <Or> |
| 111 | + <Class name="com.azure.identity.implementation.IdentityClientTests" /> |
| 112 | + <Class name="com.azure.identity.implementation.SynchronizedAccessorTests" /> |
| 113 | + <Class name="com.azure.identity.implementation.util.ValidationUtil" /> |
| 114 | + <Class name="com.azure.jedis.Authenticator" /> |
| 115 | + <Class name="com.azure.lettuce.sample.HellloWorld" /> |
| 116 | + <Class name="com.azure.lettuce.sample.withcredentialprovider.AuthenticateWithTokenCache$AzureRedisCredentials" /> |
| 117 | + <Class name="com.azure.lettuce.sample.withcredentialprovider.HandleReauthentication$AzureRedisCredentials" /> |
| 118 | + <Class name="com.azure.lettuce.sample.withcredentialprovider.HelloWorld$AzureRedisCredentials" /> |
| 119 | + <Class name="com.azure.redisson.sample.HelloWorld" /> |
| 120 | + </Or> |
| 121 | + </Match> |
| 122 | + <Match> |
| 123 | + <Bug pattern="NP_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD" /> |
| 124 | + <Class name="com.azure.identity.implementation.WindowsCredentialAccessor" /> |
| 125 | + </Match> |
| 126 | + <Match> |
| 127 | + <Bug pattern="OBL_UNSATISFIED_OBLIGATION" /> |
| 128 | + <Class name="com.azure.identity.credential.JavaDocCodeSnippets" /> |
| 129 | + </Match> |
| 130 | + <Match> |
| 131 | + <Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" /> |
| 132 | + <Class name="com.azure.identity.implementation.IdentityClient" /> |
| 133 | + </Match> |
| 134 | + <Match> |
| 135 | + <Bug pattern="RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE" /> |
| 136 | + <Class name="com.azure.identity.implementation.IdentityClient" /> |
| 137 | + </Match> |
| 138 | + <Match> |
| 139 | + <Bug pattern="REC_CATCH_EXCEPTION" /> |
| 140 | + <Or> |
| 141 | + <Class name="com.azure.identity.DeviceCodeCredential" /> |
| 142 | + <Class name="com.azure.identity.InteractiveBrowserCredential" /> |
| 143 | + <Class name="com.azure.identity.UsernamePasswordCredential" /> |
| 144 | + <Class name="com.azure.identity.implementation.IdentitySyncClient" /> |
| 145 | + </Or> |
| 146 | + </Match> |
| 147 | + <Match> |
| 148 | + <Bug pattern="SE_NO_SERIALVERSIONID" /> |
| 149 | + <Class name="com.azure.identity.implementation.ValidationUtilTests$TestFile" /> |
| 150 | + </Match> |
| 151 | + <Match> |
| 152 | + <Bug pattern="SE_TRANSIENT_FIELD_NOT_RESTORED" /> |
| 153 | + <Class name="com.azure.identity.implementation.MsalAuthenticationAccount" /> |
| 154 | + </Match> |
| 155 | + <Match> |
| 156 | + <Bug pattern="UI_INHERITANCE_UNSAFE_GETRESOURCE" /> |
| 157 | + <Class name="com.azure.identity.implementation.IdentityClientTests" /> |
| 158 | + </Match> |
| 159 | + <Match> |
| 160 | + <Bug pattern="UL_UNRELEASED_LOCK_EXCEPTION_PATH" /> |
| 161 | + <Class name="com.azure.jedis.Authenticator" /> |
| 162 | + </Match> |
| 163 | + <Match> |
| 164 | + <Bug pattern="UPM_UNCALLED_PRIVATE_METHOD" /> |
| 165 | + <Or> |
| 166 | + <Class name="com.azure.identity.implementation.IdentityClient" /> |
| 167 | + <Class name="com.azure.jedis.implementation.authentication.AccessTokenCache" /> |
| 168 | + </Or> |
| 169 | + </Match> |
| 170 | + <Match> |
| 171 | + <Bug pattern="UUF_UNUSED_FIELD" /> |
| 172 | + <Class name="com.azure.identity.implementation.IdentityClientOptions" /> |
| 173 | + </Match> |
| 174 | + <Match> |
| 175 | + <Bug pattern="UUF_UNUSED_PUBLIC_OR_PROTECTED_FIELD" /> |
| 176 | + <Or> |
| 177 | + <Class name="com.azure.identity.implementation.WindowsCredentialApi$CREDENTIAL" /> |
| 178 | + <Class name="com.azure.identity.implementation.WindowsCredentialApi$CREDENTIAL_ATTRIBUTE" /> |
| 179 | + </Or> |
| 180 | + </Match> |
| 181 | + <Match> |
| 182 | + <Bug pattern="UWF_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR" /> |
| 183 | + <Or> |
| 184 | + <Class name="com.azure.identity.implementation.PersistentTokenCacheImpl" /> |
| 185 | + <Class name="com.azure.jedis.AzureJedisClientBuilder" /> |
| 186 | + </Or> |
| 187 | + </Match> |
| 188 | + <Match> |
| 189 | + <Bug pattern="UWF_UNWRITTEN_FIELD" /> |
| 190 | + <Class name="com.azure.identity.implementation.LinuxKeyRingAccessor$GError" /> |
| 191 | + </Match> |
| 192 | + <Match> |
| 193 | + <Bug pattern="UWF_UNWRITTEN_PUBLIC_OR_PROTECTED_FIELD" /> |
| 194 | + <Or> |
| 195 | + <Class name="com.azure.identity.implementation.WindowsCredentialApi$CREDENTIAL" /> |
| 196 | + <Class name="com.azure.identity.implementation.WindowsCredentialApi$PCREDENTIAL" /> |
| 197 | + </Or> |
| 198 | + </Match> |
| 199 | + <Match> |
| 200 | + <Bug pattern="VA_FORMAT_STRING_USES_NEWLINE" /> |
| 201 | + <Class name="com.azure.identity.implementation.models.AzureCliTokenTests" /> |
| 202 | + </Match> |
| 203 | +</FindBugsFilter> |
0 commit comments