This check has been archived and is scheduled for deletion.
Learn more about checks retention
ci.jenkins.io / SpotBugs
failed
Sep 26, 2023 in 0s
1 new issue
Total | New | Outstanding | Fixed | Trend |
---|---|---|---|---|
1 | 1 | 0 | 0 | 👎 |
Reference build: Plugins » git-plugin » master #1248
Details
Severity distribution of new issues
Error | Warning High | Warning Normal | Warning Low |
---|---|---|---|
0 | 0 | 0 | 1 |
Annotations
Check warning on line 793 in src/main/java/hudson/plugins/git/GitSCM.java
ci-jenkins-io / SpotBugs
ES_COMPARING_STRINGS_WITH_EQ
LOW:
Comparison of String objects using == or != in hudson.plugins.git.GitSCM.compareRemoteRevisionWithImpl(Job, Launcher, FilePath, TaskListener)
Raw output
<p>This code compares <code>java.lang.String</code> objects for reference equality using the == or != operators. Unless both strings are either constants in a source file, or have been interned using the <code>String.intern()</code> method, the same string value may be represented by two different String objects. Consider using the <code>equals(Object)</code> method instead.</p>
Loading