Remove Old comments
Remove unnecessary Disposes
This commit is contained in:
@@ -310,8 +310,6 @@ namespace VEPROMS.CSLA.Library
|
||||
_CountDisposed++;
|
||||
_Disposed = true;
|
||||
RemoveFromDictionaries();
|
||||
if (_MyTransition != null)
|
||||
_MyTransition = null;
|
||||
}
|
||||
private void RemoveFromDictionaries()
|
||||
{
|
||||
@@ -348,11 +346,7 @@ namespace VEPROMS.CSLA.Library
|
||||
{
|
||||
ZTransition tmp = ZTransition.New(myTransition, oldto);
|
||||
if (tmp.IsSavable)
|
||||
{
|
||||
ZTransition 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