CloneSet403


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10401.000statement_list[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110116
src/NHibernate/Collection/Generic/PersistentGenericMap.cs
210174
src/NHibernate/Collection/Generic/PersistentGenericMap.cs
310236
src/NHibernate/Collection/PersistentMap.cs
410306
src/NHibernate/Collection/PersistentMap.cs
Clone Instance
1
Line Count
10
Source Line
116
Source File
src/NHibernate/Collection/Generic/PersistentGenericMap.cs

                        if (PutQueueEnabled)
                        {
                                object old = ReadElementByIndex(key);
                                if (old != Unknown)
                                {
                                        QueueOperation(new PutDelayedOperation(this, key, value, old));
                                        return;
                                }
                        }
                        Initialize(true);


Clone Instance
2
Line Count
10
Source Line
174
Source File
src/NHibernate/Collection/Generic/PersistentGenericMap.cs

                                // NH Note: the assignment in NET work like the put method in JAVA (mean assign or add)
                                if (PutQueueEnabled)
                                {
                                        object old = ReadElementByIndex(key);
                                        if (old != Unknown)
                                        {
                                                QueueOperation(new PutDelayedOperation(this, key, value, old));
                                                return;
                                        }
                                }
                                Initialize(true);


Clone Instance
3
Line Count
10
Source Line
236
Source File
src/NHibernate/Collection/PersistentMap.cs

                        if (PutQueueEnabled)
                        {
                                object old = ReadElementByIndex(key);
                                if (old != Unknown)
                                {
                                        QueueOperation(new PutDelayedOperation(this, key, value, old));
                                        return;
                                }
                        }
                        Initialize(true);


Clone Instance
4
Line Count
10
Source Line
306
Source File
src/NHibernate/Collection/PersistentMap.cs

                                // NH Note: the assignment in NET work like the put method in JAVA (mean assign or add)
                                if (PutQueueEnabled)
                                {
                                        object old = ReadElementByIndex(key);
                                        if (old != Unknown)
                                        {
                                                QueueOperation(new PutDelayedOperation(this, key, value, old));
                                                return;
                                        }
                                }
                                Initialize(true);


Clone AbstractionParameter Count: 0Parameter Bindings

// NH Note: the assignment in NET work like the put method in JAVA (mean assign or add)
if (PutQueueEnabled)
{
   object old = ReadElementByIndex(key);
   if (old != Unknown)
   {
      QueueOperation(new PutDelayedOperation(this, key, value, old));
      return;
   }
}
Initialize(true);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None