Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
27 | 2 | 3 | 0.960 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 27 | 1 | src/NHibernate/Type/AnsiStringType.cs |
2 | 26 | 1 | src/NHibernate/Type/StringType.cs |
| ||||
using System; using System.Data; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.String"/> Property /// to a <see cref="DbType.AnsiString"/> column. /// </summary> [Serializable] public class AnsiStringType : AbstractStringType { internal AnsiStringType() : base(new AnsiStringSqlType()) { } internal AnsiStringType(AnsiStringSqlType sqlType) : base(sqlType) { } /// <summary></summary> public override string Name { get { return "AnsiString"; } } } } |
| ||||
using System; using System.Data; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.String" /> to a <see cref="DbType.String" /> column. /// </summary> [Serializable] public class StringType : AbstractStringType { internal StringType() : base(new StringSqlType()) { } internal StringType(StringSqlType sqlType) : base(sqlType) { } public override string Name { get { return "String"; } } } } |
| |||
using System; using System.Data; using NHibernate.SqlTypes; namespace NHibernate.Type { /// <summary> /// Maps a <see cref="System.String"/> Property /// to a <see cref="DbType.AnsiString"/> column. /// Maps a <see cref="System.String" /> to a <see cref="DbType.String" /> column. /// </summary> [Serializable] public class [[#variable2a970520]]: AbstractStringType { internal [[#variable2a970520]](): base(new [[#variable2a9704c0]]()) { } internal [[#variable2a970520]]( [[#variable2a9704c0]]sqlType): base(sqlType) { } /// <summary></summary> public override string Name { get { return [[#variable2a970460]]; } } } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#2a970520]] | AnsiStringType |
1 | 2 | [[#2a970520]] | StringType |
2 | 1 | [[#2a9704c0]] | AnsiStringSqlType |
2 | 2 | [[#2a9704c0]] | StringSqlType |
3 | 1 | [[#2a970460]] | "AnsiString" |
3 | 2 | [[#2a970460]] | "String" |