Index: Riskeer/Integration/src/Riskeer.Integration.Data/RiskeerProjectFactory.cs =================================================================== diff -u -r648827502ad0b3b2760215e52cf6348c260f4e6f -r2c87df4b7544381db72c430ac50247b73b7952e8 --- Riskeer/Integration/src/Riskeer.Integration.Data/RiskeerProjectFactory.cs (.../RiskeerProjectFactory.cs) (revision 648827502ad0b3b2760215e52cf6348c260f4e6f) +++ Riskeer/Integration/src/Riskeer.Integration.Data/RiskeerProjectFactory.cs (.../RiskeerProjectFactory.cs) (revision 2c87df4b7544381db72c430ac50247b73b7952e8) @@ -64,15 +64,7 @@ throw new ProjectFactoryException(e.Message, e); } - if (assessmentSection == null) - { - return null; - } - - return new RiskeerProject - { - AssessmentSection = assessmentSection - }; + return assessmentSection == null ? null : new RiskeerProject(assessmentSection); } } } \ No newline at end of file