Changes required by ProjectChecker(Browser) refactoring
authorJan Vrany <jan.vrany@fit.cvut.cz>
Thu, 26 Jul 2012 12:11:37 +0200
changeset 1115 9e43cb31c027
parent 1114 e92bfe84c61f
child 1116 f5dc285afcd9
Changes required by ProjectChecker(Browser) refactoring
SVN__CommitTask.st
--- a/SVN__CommitTask.st	Tue Jul 24 17:30:05 2012 +0200
+++ b/SVN__CommitTask.st	Thu Jul 26 12:11:37 2012 +0200
@@ -231,8 +231,9 @@
 
 doSanityChecks
     "Perform some sanity checks on the package
-     (or individual classes and/or methods). Returns
-     a collection (possibly empty) of found issues."
+     (or individual classes and/or methods). 
+     Return a project checker. Use #problems to get the
+     list of problems"
 
     self isPackageCommit ifFalse:[ ^ nil ].
     (ConfigurableFeatures includesFeature:#ProjectChecker) ifFalse:[ ^ nil ].
@@ -242,7 +243,7 @@
         classes: classes;
         methods: (extensionMethods = #() ifTrue:[nil] ifFalse:[extensionMethods]);
         check;
-        problems
+        yourself
 
     "Created: / 11-04-2008 / 09:19:27 / Jan Vrany <vranyj1@fel.cvut.cz>"
     "Modified: / 17-08-2009 / 18:28:34 / Jan Vrany <vranyj1@fel.cvut.cz>"