Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
4 | 2 | 4 | 0.951 | class_member_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 106 | src/NHibernate/Cache/ReadOnlyCache.cs |
2 | 4 | 140 | src/NHibernate/Cache/ReadOnlyCache.cs |
| ||||
/// <summary> /// Unsupported! /// </summary> public bool AfterUpdate(CacheKey key, object value, object version, ISoftLock @lock) { log.Error("Application attempted to edit read only item: " + key); throw new InvalidOperationException("ReadOnlyCache: Can't write to a readonly object " + key.EntityOrRoleName); } |
| ||||
/// <summary> /// Unsupported! /// </summary> public bool Update(CacheKey key, object value, object currentVersion, object previousVersion) { log.Error("Application attempted to edit read only item: " + key); throw new InvalidOperationException("ReadOnlyCache: Can't write to a readonly object " + key.EntityOrRoleName); } |
| |||
/// <summary> /// Unsupported! /// </summary> public bool [[#variable5540c7a0]](CacheKey key, object value, object [[#variable278cf5e0]], [[#variable5540c480]] [[#variable5540c800]]) { log.Error("Application attempted to edit read only item: " + key); throw new InvalidOperationException("ReadOnlyCache: Can't write to a readonly object " + key.EntityOrRoleName); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5540c7a0]] | AfterUpdate |
1 | 2 | [[#5540c7a0]] | Update |
2 | 1 | [[#278cf5e0]] | version |
2 | 2 | [[#278cf5e0]] | currentVersion |
3 | 1 | [[#5540c480]] | ISoftLock |
3 | 2 | [[#5540c480]] | object |
4 | 1 | [[#5540c800]] | @lock |
4 | 2 | [[#5540c800]] | previousVersion |