accept: aVisitor
^ aVisitor lineSegment: self
accept: aVisitor
^ aVisitor closeSegment: self
accept: aVisitor
^ aVisitor moveSegment: self
seems to invoke methods that do not exit
I check AthensLIneSegment is used so I do not understand why the methods are broken.
I know but where is the visitor?if you remove it, then users cannot use itfor iterating trough path segments for converting them etc etc..of course, it may be nit used by Athens itself.. but it doesn't means it is useless.Where is the visitor? Why accept: are not packaged with it? Does it use DNU trick?In my imagine there is no implementor of moveSegment: closeSegment:why there should be any, if nobody using this feature, yet? so you don't have a single visitor.you could add a test case for coverage, so it won't bother you that there's no implementors ofgiven selector in image :)
iirc, i used it for path transformation(s) code.. which then get removed.
--
Best regards,
Igor Stasenko.