Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 0 | 1.000 | non_pp_embedded_statement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 81 | src/NHibernate/Id/SequenceHiLoGenerator.cs |
2 | 7 | 84 | src/NHibernate/Id/TableHiLoGenerator.cs |
| ||||
if (maxLo < 1) { //keep the behavior consistent even for boundary usages long val = Convert.ToInt64( base.Generate(session, obj)); if (val == 0) val = Convert.ToInt64( base.Generate(session, obj)); return IdentifierGeneratorFactory.CreateNumber(val, returnClass); } |
| ||||
if (maxLo < 1) { //keep the behavior consistent even for boundary usages long val = Convert.ToInt64( base.Generate(session, obj)); if (val == 0) val = Convert.ToInt64( base.Generate(session, obj)); return IdentifierGeneratorFactory.CreateNumber(val, returnClass); } |
| |||
if (maxLo < 1) { //keep the behavior consistent even for boundary usages long val = Convert.ToInt64( base.Generate(session, obj)); if (val == 0) val = Convert.ToInt64( base.Generate(session, obj)); return IdentifierGeneratorFactory.CreateNumber(val, returnClass); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |