DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10630>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10630 Source interface does not specify source ------- Additional Comments From [EMAIL PROTECTED] 2002-07-10 14:04 ------- One simple solution would be creating one method for each type of Source wherever a Source is accepted now and removing Source entirely. That would at least be better software design. The other solution would be moving the logic which does now deal with the different types of Sources into Source itself. Then Source would be an abstract class of course. Seems nicer to me but can be difficult. I am pretty sure there is a refactoring for this situation. Did not yet find it though. First one seems like "Encapsulate Downcast" and the second solution maybe like "Extract Superclass".