CloneSet1246


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.959ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17289
Closure/closure/goog/ui/container.js
27928
Closure/closure/goog/ui/container.js
Clone Instance
1
Line Count
7
Source Line
289
Source File
Closure/closure/goog/ui/container.js

/**
 * Registers the given renderer with the container.  Changing renderers after
 * the container has already been rendered or decorated is an error.
 * @param {goog.ui.ContainerRenderer} renderer Renderer used by the container.
 */
goog.ui.Container.prototype.setRenderer=  function (renderer){
  if (this.getElement( )){
    // Too late.
    throw Error(goog.ui.Component.Error.ALREADY_RENDERED);
                         }

  this.renderer_=  renderer;
                                                             } ;


Clone Instance
2
Line Count
7
Source Line
928
Source File
Closure/closure/goog/ui/container.js

/**
 * Sets the container's orientation.
 * @param {goog.ui.Container.Orientation} orientation Container orientation.
 */
// TODO: Do we need to support containers with dynamic orientation?
goog.ui.Container.prototype.setOrientation=  function (orientation){
  if (this.getElement( )){
    // Too late.
    throw Error(goog.ui.Component.Error.ALREADY_RENDERED);
                         }

  this.orientation_=  orientation;
                                                                   } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Sets the container's orientation.
 * @param {goog.ui.Container.Orientation} orientation Container orientation.
 */
// TODO: Do we need to support containers with dynamic orientation?
/**
 * Registers the given renderer with the container.  Changing renderers after
 * the container has already been rendered or decorated is an error.
 * @param {goog.ui.ContainerRenderer} renderer Renderer used by the container.
 */
goog.ui.Container.prototype. [[#variable58166b40]]= function ( [[#variable58166ac0]])
                                                    { if (this.getElement( ))
                                                        {
                                                          // Too late.
                                                          throw Error(goog.ui.Component.Error.ALREADY_RENDERED);
                                                        }
                                                      this. [[#variable58166a60]]= [[#variable58166ac0]];
                                                    } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#58166b40]]
setOrientation 
12[[#58166b40]]
setRenderer 
21[[#58166ac0]]
orientation 
22[[#58166ac0]]
renderer 
31[[#58166a60]]
orientation_ 
32[[#58166a60]]
renderer_