Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
22 | 2 | 3 | 0.967 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 22 | 1 | src/NHibernate/Type/AnsiCharType.cs |
2 | 22 | 1 | src/NHibernate/Type/CharType.cs |
| ||||
using System; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.Char"/> Property /// to a <c>DbType.AnsiStringFixedLength</c> column. /// </summary> [Serializable] public class AnsiCharType : AbstractCharType { internal AnsiCharType() : base(new AnsiStringFixedLengthSqlType(1)) { } public override string Name { get { return "AnsiChar"; } } } } |
| ||||
using System; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.Char"/> Property /// to a <c>DbType.StringFixedLength</c> column. /// </summary> [Serializable] public class CharType : AbstractCharType { internal CharType() : base(new StringFixedLengthSqlType(1)) { } public override string Name { get { return "Char"; } } } } |
| |||
using System; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.Char"/> Property /// to a <c>DbType.AnsiStringFixedLength</c> column. /// to a <c>DbType.StringFixedLength</c> column. /// </summary> [Serializable] public class [[#variable298b3ec0]]: AbstractCharType { internal [[#variable298b3ec0]](): base(new [[#variable298b3da0]](1)) { } public override string Name { get { return [[#variable298b3d20]]; } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#298b3ec0]] | AnsiCharType |
1 | 2 | [[#298b3ec0]] | CharType |
2 | 1 | [[#298b3da0]] | AnsiStringFixedLengthSqlType |
2 | 2 | [[#298b3da0]] | StringFixedLengthSqlType |
3 | 1 | [[#298b3d20]] | "AnsiChar" |
3 | 2 | [[#298b3d20]] | "Char" |