CloneSet249


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
23320.974class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12316
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/CommentAction.java
22420
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/DuplicateLineAction.java
32316
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/UncommentAction.java
Next
Last
Clone Instance
1
Line Count
23
Source Line
16
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/CommentAction.java

private ISQLEntryPanel _isqlEntryPanel;

public CommentAction(IApplication app, SyntaxPluginResources rsrc) throws IllegalArgumentException {
  super(app, rsrc);
}

public CommentAction(IApplication app, SyntaxPluginResources rsrc, ISQLEntryPanel isqlEntryPanel) {
  this(app, rsrc);
  _isqlEntryPanel = isqlEntryPanel;
}

public void actionPerformed(ActionEvent evt) {
  if (null != _isqlEntryPanel) {
    comment(_isqlEntryPanel);
  }
  else
    if (null != _panel) {
      comment(_panel.getSQLEntryPanel());
    }
}


Next
Previous
Clone Instance
2
Line Count
24
Source Line
20
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/DuplicateLineAction.java

private ISQLEntryPanel _isqlEntryPanel;

public DuplicateLineAction(IApplication app, SyntaxPluginResources rsrc) throws IllegalArgumentException {
  super(app, rsrc);
}

public DuplicateLineAction(IApplication app, SyntaxPluginResources rsrc, ISQLEntryPanel isqlEntryPanel) {
  this(app, rsrc);
  _isqlEntryPanel = isqlEntryPanel;
}

public void actionPerformed(ActionEvent evt) {
  if (null != _isqlEntryPanel) {
    duplicateLineAction(_isqlEntryPanel);
  }
  else
    if (null != _panel) {
      duplicateLineAction(_panel.getSQLEntryPanel());
    }
}


First
Previous
Clone Instance
3
Line Count
23
Source Line
16
Source File
E:/TSE/Projects-CloneDR/sql12/plugins/syntax/src/net/sourceforge/squirrel_sql/plugins/syntax/UncommentAction.java

private ISQLEntryPanel _isqlEntryPanel;

public UncommentAction(IApplication app, SyntaxPluginResources rsrc) throws IllegalArgumentException {
  super(app, rsrc);
}

public UncommentAction(IApplication app, SyntaxPluginResources rsrc, ISQLEntryPanel isqlEntryPanel) {
  this(app, rsrc);
  _isqlEntryPanel = isqlEntryPanel;
}

public void actionPerformed(ActionEvent evt) {
  if (null != _isqlEntryPanel) {
    uncomment(_isqlEntryPanel);
  }
  else
    if (null != _panel) {
      uncomment(_panel.getSQLEntryPanel());
    }
}


Clone AbstractionParameter Count: 2Parameter Bindings

private ISQLEntryPanel _isqlEntryPanel;

public [[#variable18d92e40]](IApplication app, SyntaxPluginResources rsrc) throws IllegalArgumentException {
  super(app, rsrc);
}

public [[#variable18d92e40]](IApplication app, SyntaxPluginResources rsrc, ISQLEntryPanel isqlEntryPanel) {
  this(app, rsrc);
  _isqlEntryPanel = isqlEntryPanel;
}

public void actionPerformed(ActionEvent evt) {
  if (null != _isqlEntryPanel) {
     [[#variable18d928a0]](_isqlEntryPanel);
  }
  else
    if (null != _panel) {
       [[#variable18d928a0]](_panel.getSQLEntryPanel());
    }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#18d92e40]]
CommentAction 
12[[#18d92e40]]
DuplicateLineAction 
13[[#18d92e40]]
UncommentAction 
21[[#18d928a0]]
comment 
22[[#18d928a0]]
duplicateLineAction 
23[[#18d928a0]]
uncomment