Avatar metadata for BitBucket organization folder is reworked #700
ci.jenkins.io / SpotBugs
failed
Feb 13, 2024 in 0s
2 new issues
Total | New | Outstanding | Fixed | Trend |
---|---|---|---|---|
2 | 2 | 0 | 0 | 👎 |
Reference build: Plugins » bitbucket-branch-source-plugin » master #449
Details
Severity distribution of new issues
Error | Warning High | Warning Normal | Warning Low |
---|---|---|---|
0 | 0 | 2 | 0 |
Annotations
ci-jenkins-io / SpotBugs
SE_NO_SERIALVERSIONID
NORMAL:
com.cloudbees.jenkins.plugins.bitbucket.BitbucketServerProjectAvatarAction is Serializable; consider declaring a serialVersionUID
Raw output
<p> This class implements the <code>Serializable</code> interface, but does not define a <code>serialVersionUID</code> field. A change as simple as adding a reference to a .class object will add synthetic fields to the class, which will unfortunately change the implicit serialVersionUID (e.g., adding a reference to <code>String.class</code> will generate a static field <code>class$java$lang$String</code>). Also, different source code to bytecode compilers may use different naming conventions for synthetic variables generated for references to class objects or inner classes. To ensure interoperability of Serializable across versions, consider adding an explicit serialVersionUID.</p>
ci-jenkins-io / SpotBugs
SE_TRANSIENT_FIELD_NOT_RESTORED
NORMAL:
The field com.cloudbees.jenkins.plugins.bitbucket.BitbucketServerProjectAvatarAction.canFetch is transient but isn't set by deserialization
Raw output
<p> This class contains a field that is updated at multiple places in the class, thus it seems to be part of the state of the class. However, since the field is marked as transient and not set in readObject or readResolve, it will contain the default value in any deserialized instance of the class. </p>
Loading