CloneSet2046


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10210.989class_member_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110110
src/NHibernate.Test/NHSpecificTest/NH1601/Fixture1.cs
210119
src/NHibernate.Test/NHSpecificTest/NH1601/Fixture2.cs
Clone Instance
1
Line Count
10
Source Line
110
Source File
src/NHibernate.Test/NHSpecificTest/NH1601/Fixture1.cs

        public void RefreshProject(ProjectWithOneList project)
        {

            using (ISession session = OpenSession())
            using (ITransaction tx = session.BeginTransaction())
            {
                                                        //The project is refreshed and Scenario1, Scenario2 and Scenario3 properties can be set
                //This will succeed when the scenario list is set and accessed during the set but only for
                //Scenario 2 and Scenario3. It will fail if the scenario list is accessed during the set for Scenario1
                session.Refresh(project);
            }
        }



Clone Instance
2
Line Count
10
Source Line
119
Source File
src/NHibernate.Test/NHSpecificTest/NH1601/Fixture2.cs

        public void RefreshProject(Project project)
        {

            using (ISession session = OpenSession())
            using (ITransaction tx = session.BeginTransaction())
            {
                //The project is refreshed and Scenario1, Scenario2 and Scenario3 properties can be set
                //This will succeed when the scenario list is set and accessed during the set but only for
                //Scenario 2 and Scenario3. It will fail if the scenario list is accessed during the set for Scenario1
                session.Refresh(project);
            }
        }



Clone AbstractionParameter Count: 1Parameter Bindings

public void RefreshProject( [[#variable6f24c680]]project)
{
   using (ISession session = OpenSession())
      using (ITransaction tx = session.BeginTransaction())
      {
         //The project is refreshed and Scenario1, Scenario2 and Scenario3 properties can be set
         //This will succeed when the scenario list is set and accessed during the set but only for
         //Scenario 2 and Scenario3. It will fail if the scenario list is accessed during the set for Scenario1
         session.Refresh(project);
      }
}

 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#6f24c680]]
Project 
12[[#6f24c680]]
ProjectWithOneList