CloneSet546


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
16220.966block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
116411
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/Session.java
216447
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/Session.java
Next
Last
Clone Instance
1
Line Count
16
Source Line
411
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/Session.java

{
  if (plugin == null) {
    throw new IllegalArgumentException("Null IPlugin passed");
  }
  if (key == null) {
    throw new IllegalArgumentException("Null key passed");
  }
  Map<String, Object> map = _pluginObjects.get(plugin.getInternalName());
  if (map == null) {
    map = new HashMap<String, Object>();
    _pluginObjects.put(plugin.getInternalName(), map);
  }
  return map.get(key);
}


First
Previous
Clone Instance
2
Line Count
16
Source Line
447
Source File
E:/TSE/Projects-CloneDR/sql12/app/src/net/sourceforge/squirrel_sql/client/session/Session.java

{
  if (plugin == null) {
    throw new IllegalArgumentException("Null IPlugin passed");
  }
  if (key == null) {
    throw new IllegalArgumentException("Null key passed");
  }
  Map<String, Object> map = _pluginObjects.get(plugin.getInternalName());
  if (map == null) {
    map = new HashMap<String, Object>();
    _pluginObjects.put(plugin.getInternalName(), map);
  }
  return map.put(key, value);
}


Clone AbstractionParameter Count: 2Parameter Bindings

{
  if (plugin == null) {
    throw new IllegalArgumentException("Null IPlugin passed");
  }
  if (key == null) {
    throw new IllegalArgumentException("Null key passed");
  }
  Map<String, Object> map = _pluginObjects.get(plugin.getInternalName());
  if (map == null) {
    map = new HashMap<String, Object>();
    _pluginObjects.put(plugin.getInternalName(), map);
  }
  return map. [[#variable1ceb2800]]( [[#variable1ceb2760]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#1ceb2800]]
get 
12[[#1ceb2800]]
put 
21[[#1ceb2760]]
key 
22[[#1ceb2760]]
key, value