Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 1 | 0.979 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 58 | Closure/closure/goog/graphics/ext/image.js |
2 | 5 | 58 | Closure/closure/goog/graphics/ext/rectangle.js |
| ||||
/** * Redraw the image. Called when the coordinate system is changed. * @protected */ goog.graphics.ext.Image.prototype.redraw= function ( ) { goog.graphics.ext.Image.superClass_.redraw.call(this ); // Our position is already handled bu transform_. this.getWrapper( ).setSize(this.getWidth( ),this.getHeight( )); } ; |
| ||||
/** * Redraw the rectangle. Called when the coordinate system is changed. * @protected */ goog.graphics.ext.Rectangle.prototype.redraw= function ( ) { goog.graphics.ext.Rectangle.superClass_.redraw.call(this ); // Our position is already handled by transform_. this.getWrapper( ).setSize(this.getWidth( ),this.getHeight( )); } ; |
| |||
/** * Redraw the image. Called when the coordinate system is changed. * @protected */ /** * Redraw the rectangle. Called when the coordinate system is changed. * @protected */ goog.graphics.ext. [[#variable1e61e300]].prototype.redraw= function ( ) { goog.graphics.ext. [[#variable1e61e300]].superClass_.redraw.call(this ); // Our position is already handled bu transform_. // Our position is already handled by transform_. this.getWrapper( ).setSize(this.getWidth( ),this.getHeight( )); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#1e61e300]] | Image |
1 | 2 | [[#1e61e300]] | Rectangle |