CloneSet1427


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4230.956ExpressionStatement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14209
Closure/closure/goog/ui/menu.js
24222
Closure/closure/goog/ui/menu.js
Clone Instance
1
Line Count
4
Source Line
209
Source File
Closure/closure/goog/ui/menu.js

/**
 * Removes an item from the menu and disposes of it.
 * @param {goog.ui.MenuItem|goog.ui.MenuSeparator} item The menu item to remove.
 * @deprecated Use {@link #removeChild} instead.
 */
goog.ui.Menu.prototype.removeItem=  function (item){
  var removedChild=  this.removeChild(item, true);
  if (removedChild) {
    removedChild.dispose( );
                    }
                                                   } ;


Clone Instance
2
Line Count
4
Source Line
222
Source File
Closure/closure/goog/ui/menu.js

/**
 * Removes a menu item at a given index in the menu and disposes of it.
 * @param {number} n Index of item.
 * @deprecated Use {@link #removeChildAt} instead.
 */
goog.ui.Menu.prototype.removeItemAt=  function (n){
  var removedChild=  this.removeChildAt(n, true);
  if (removedChild) {
    removedChild.dispose( );
                    }
                                                  } ;


Clone AbstractionParameter Count: 3Parameter Bindings

/**
 * Removes a menu item at a given index in the menu and disposes of it.
 * @param {number} n Index of item.
 * @deprecated Use {@link #removeChildAt} instead.
 */
/**
 * Removes an item from the menu and disposes of it.
 * @param {goog.ui.MenuItem|goog.ui.MenuSeparator} item The menu item to remove.
 * @deprecated Use {@link #removeChild} instead.
 */
goog.ui.Menu.prototype. [[#variable1f8782e0]]= function ( [[#variable1f878260]])
                                               { var removedChild=this. [[#variable1f878160]]( [[#variable1f878260]], true);
                                                 if (removedChild)
                                                   { removedChild.dispose( );
                                                   }
                                               } ;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1f8782e0]]
removeItemAt 
12[[#1f8782e0]]
removeItem 
21[[#1f878260]]
n 
22[[#1f878260]]
item 
31[[#1f878160]]
removeChildAt 
32[[#1f878160]]
removeChild