Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.991 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 164 | src/NHibernate/Action/EntityUpdateAction.cs |
2 | 9 | 177 | src/NHibernate/Action/EntityUpdateAction.cs |
| ||||
private void PostUpdate() { IPostUpdateEventListener[] postListeners = Session.Listeners.PostUpdateEventListeners; if (postListeners.Length > 0) { PostUpdateEvent postEvent = new PostUpdateEvent(Instance, Id, state, previousState, Persister, (IEventSource)Session); foreach (IPostUpdateEventListener listener in postListeners) { listener.OnPostUpdate(postEvent); } } } |
| ||||
private void PostCommitUpdate() { IPostUpdateEventListener[] postListeners = Session.Listeners.PostCommitUpdateEventListeners; if (postListeners.Length > 0) { PostUpdateEvent postEvent = new PostUpdateEvent(Instance, Id, state, previousState, Persister, (IEventSource)Session); foreach (IPostUpdateEventListener listener in postListeners) { listener.OnPostUpdate(postEvent); } } } |
| |||
private void [[#variable6be0b680]]() { IPostUpdateEventListener[] postListeners = Session.Listeners. [[#variable6be0b5a0]]; if (postListeners.Length > 0) { PostUpdateEvent postEvent = new PostUpdateEvent(Instance, Id, state, previousState, Persister, (IEventSource)Session); foreach (IPostUpdateEventListener listener in postListeners) { listener.OnPostUpdate(postEvent); } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#6be0b680]] | PostCommitUpdate |
1 | 2 | [[#6be0b680]] | PostUpdate |
2 | 1 | [[#6be0b5a0]] | PostCommitUpdateEventListeners |
2 | 2 | [[#6be0b5a0]] | PostUpdateEventListeners |