CloneSet1457


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13210.976block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113121
src/NHibernate/Hql/Ast/ANTLR/Tree/FromElement.cs
213324
src/NHibernate/Hql/Ast/ANTLR/Tree/FromElement.cs
Clone Instance
1
Line Count
13
Source Line
121
Source File
src/NHibernate/Hql/Ast/ANTLR/Tree/FromElement.cs

                        {
                                if (value == null)
                                {
                                        if (_elementType.IndexCollectionSelectorParamSpec != null)
                                        {
                                                _embeddedParameters.Remove(_elementType.IndexCollectionSelectorParamSpec);
                                                _elementType.IndexCollectionSelectorParamSpec = null;
                                        }
                                }
                                else
                                {
                                        _elementType.IndexCollectionSelectorParamSpec = value;
                                        AddEmbeddedParameter(value);
                                }
                        }


Clone Instance
2
Line Count
13
Source Line
324
Source File
src/NHibernate/Hql/Ast/ANTLR/Tree/FromElement.cs

                {
                        if (indexCollectionSelectorParamSpec == null)
                        {
                                if (_elementType.IndexCollectionSelectorParamSpec != null)
                                {
                                        _embeddedParameters.Remove(_elementType.IndexCollectionSelectorParamSpec);
                                        _elementType.IndexCollectionSelectorParamSpec = null;
                                }
                        }
                        else
                        {
                                _elementType.IndexCollectionSelectorParamSpec = indexCollectionSelectorParamSpec;
                                AddEmbeddedParameter(indexCollectionSelectorParamSpec);
                        }
                }


Clone AbstractionParameter Count: 1Parameter Bindings

{
   if ( [[#variable287d5160]]== null)
   {
      if (_elementType.IndexCollectionSelectorParamSpec != null)
      {
         _embeddedParameters.Remove(_elementType.IndexCollectionSelectorParamSpec);
         _elementType.IndexCollectionSelectorParamSpec = null;
      }
   }
   else
   {
      _elementType.IndexCollectionSelectorParamSpec = [[#variable287d5160]];
      AddEmbeddedParameter( [[#variable287d5160]]);
   }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#287d5160]]
value 
12[[#287d5160]]
indexCollectionSelectorParamSpec