Remove Old comments

Remove unnecessary Disposes
This commit is contained in:
Rich committed 2012-06-01 17:08:16 +00:00
1 parent af5f3056d9
commit 869663b79c
71 files changed
+105 -1482

No files matched your search

@@ -643,11 +643,7 @@ namespace VEPROMS.CSLA.Library
{
Revision tmp = Revision.New(itemID, typeID, revisionNumber, revisionDate, notes, config, dts, userID);
if (tmp.IsSavable)
{
Revision tmp2 = tmp;
tmp = tmp2.Save();
tmp2.Dispose();
}
tmp = tmp.Save();
else
{
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();
@@ -673,11 +669,7 @@ namespace VEPROMS.CSLA.Library
{
Revision tmp = Revision.New(itemID, revisionNumber, revisionDate, notes, config);
if (tmp.IsSavable)
{
Revision tmp2 = tmp;
tmp = tmp2.Save();
tmp2.Dispose();
}
tmp = tmp.Save();
else
{
Csla.Validation.BrokenRulesCollection brc = tmp.ValidationRules.GetBrokenRules();