Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 1 | 0.982 | class_member_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 1170 | src/NHibernate/Impl/SessionImpl.cs |
2 | 13 | 1254 | src/NHibernate/Impl/SessionImpl.cs |
| ||||
public T Load<T>(object id) { using (new SessionIdLoggingContext(SessionId)) { return (T)Load( typeof(T), id); } } public T Load<T>(object id, LockMode lockMode) { using (new SessionIdLoggingContext(SessionId)) { return (T)Load( typeof(T), id, lockMode); } } |
| ||||
public T Get<T>(object id) { using (new SessionIdLoggingContext(SessionId)) { return (T)Get( typeof(T), id); } } public T Get<T>(object id, LockMode lockMode) { using (new SessionIdLoggingContext(SessionId)) { return (T)Get( typeof(T), id, lockMode); } } |
| |||
public T [[#variable5459a6e0]]<T>(object id) { using (new SessionIdLoggingContext(SessionId)) { return (T) [[#variable5459a6e0]]( typeof(T), id); } } public T [[#variable5459a6e0]]<T>(object id, LockMode lockMode) { using (new SessionIdLoggingContext(SessionId)) { return (T) [[#variable5459a6e0]]( typeof(T), id, lockMode); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5459a6e0]] | Get |
1 | 2 | [[#5459a6e0]] | Load |