Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.951 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 147 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/block/ColorBlock.java |
2 | 14 | 348 | E:/TSE/Projects-CloneDR/jfreechart-1.0.10/src/org/jfree/chart/renderer/category/StatisticalLineAndShapeRenderer.java |
| |||||
/** * Tests this block for equality with an arbitrary object. * * @param obj the object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this ) { return true; } if ( !(obj instanceof ColorBlock)) { return false; } ColorBlock that = (ColorBlock) obj; if ( !PaintUtilities.equal(this.paint, that.paint)) { return false; } return super.equals(obj); } |
| |||||
/** * Tests this renderer for equality with an arbitrary object. * * @param obj the object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this ) { return true; } if ( !(obj instanceof StatisticalLineAndShapeRenderer)) { return false; } StatisticalLineAndShapeRenderer that = (StatisticalLineAndShapeRenderer) obj; if ( !PaintUtilities.equal(this.errorIndicatorPaint, that.errorIndicatorPaint)) { return false; } return super.equals(obj); } |
| |||
/** * Tests this block for equality with an arbitrary object. * * @param obj the object (<code>null</code> permitted). * * @return A boolean. */ /** * Tests this renderer for equality with an arbitrary object. * * @param obj the object (<code>null</code> permitted). * * @return A boolean. */ public boolean equals(Object obj) { if (obj == this ) { return true; } if ( !(obj instanceof [[#variable18d504e0]])) { return false; } [[#variable18d504e0]] that = ( [[#variable18d504e0]]) obj; if ( !PaintUtilities.equal(this. [[#variable18d509e0]], that. [[#variable18d509e0]])) { return false; } return super.equals(obj); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#18d504e0]] | ColorBlock |
1 | 2 | [[#18d504e0]] | StatisticalLineAndShapeRenderer |
2 | 1 | [[#18d509e0]] | paint |
2 | 2 | [[#18d509e0]] | errorIndicatorPaint |