Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -657,11 +657,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Transition tmp = Transition.New(myContent, myItemToID, myItemRangeID, isRange, tranType, config, dts, userID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Transition tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -686,11 +682,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Transition tmp = Transition.New(myContent, myItemToID, myItemRangeID, config);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Transition tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
|
Reference in New Issue
Block a user