-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove boolean return code in Insert, Rename, Remove methods in KWClass
Contexte: - les methodes de KWClass et KWClassDomain renvoie false - si entite cree ou renomme existe (pour Insert et Rename) - si entite detyruite n'existe pas (pour Remove). - ce comportement a ete source de bug (fuite memoire dans KWClass::CreateClass) - n'est jamais exploite (sauf quelques rares fois avec bOk = Insert... suivi de assert(bOk) Amélioration - passage de ces methode en void - le controle se fait desormais pas un require - pas d'impact sur le code existant (sauf quelques rare micro-corrections) - Methodes concernees - KWClassDomain - InsertClass - RemoveClass - DeleteClass - RenameClass - RenameAttribute - InsertDomain - RemoveDomain - DeleteDomain - RenameDomain - KWClass - InsertAttribute - InsertAttributeBefore, InsertAttributeAfter - InsertAttributeInBlock - RenameAttribute Tests complets LearningTest passes avec succes
- Loading branch information
1 parent
fd9a5e7
commit e032fb4
Showing
9 changed files
with
340 additions
and
444 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.