Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -763,11 +763,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Format tmp = Format.New(myParent, name, description, data, genMac, dts, userID);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Format tmp2 = tmp;
|
||||
tmp = tmp2.Save();
|
||||
tmp2.Dispose();
|
||||
}
|
||||
tmp = tmp.Save();
|
||||
else
|
||||
{
|
||||
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
|
||||
@@ -793,11 +789,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
Format tmp = Format.New(myParent, name, description, data, genMac);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
Format 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