mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-16 21:42:27 +00:00
HUDSON-2682 workaround for Eclipse compilation bug
git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@13893 71c3de6d-444a-0410-be80-ed276b4c234a
This commit is contained in:
1 parent
3cef8497b7
commit
9407832bc8
1 file changed
+5
-1
@@ -999,7 +999,11 @@ public abstract class Job<JobT extends Job<JobT, RunT>, RunT extends Run<JobT, R
|
||||
}
|
||||
|
||||
public boolean equals(Object o) {
|
||||
if(!(o instanceof ChartLabel)) return false;
|
||||
// HUDSON-2682 workaround for Eclipse compilation bug
|
||||
// on (c instanceof ChartLabel)
|
||||
if (o == null || !ChartLabel.class.isAssignableFrom( o.getClass() )) {
|
||||
return false;
|
||||
}
|
||||
ChartLabel that = (ChartLabel) o;
|
||||
return run == that.run;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user