Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 1 | 0.957 | block |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 55 | src/NHibernate/Util/JoinedEnumerable.cs |
2 | 5 | 147 | src/NHibernate/Util/JoinedEnumerable.cs |
| ||||
{ // there are no items left to iterate over in the current // enumerator so go ahead and dispose of it. IDisposable disposable = _enumerators[_current] as IDisposable; if (disposable != null) { disposable.Dispose(); } } |
| ||||
{ IDisposable currentDisposable = _enumerators[_current] as IDisposable; if (currentDisposable != null) { currentDisposable.Dispose(); } } |
| |||
{ // there are no items left to iterate over in the current // enumerator so go ahead and dispose of it. IDisposable [[#variable54b142a0]]= _enumerators[_current] as IDisposable; if ( [[#variable54b142a0]]!= null) { [[#variable54b142a0]].Dispose(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#54b142a0]] | disposable |
1 | 2 | [[#54b142a0]] | currentDisposable |