Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avatar metadata for BitBucket organization folder is reworked #700

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Merge remote-tracking branch 'upstream/master' into credentialless-av…

7e48060
Select commit
Loading
Failed to load commit list.
Draft

Avatar metadata for BitBucket organization folder is reworked #700

Merge remote-tracking branch 'upstream/master' into credentialless-av…
7e48060
Select commit
Loading
Failed to load commit list.
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

Check warning on line 125 in src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketServerProjectAvatarAction.java

See this annotation in the file changed.

@ci-jenkins-io 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.&nbsp; 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>

Check warning on line 0 in src/main/java/com/cloudbees/jenkins/plugins/bitbucket/BitbucketServerProjectAvatarAction.java

See this annotation in the file changed.

@ci-jenkins-io 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>