On Sun, Jan 4, 2009 at 4:13 PM, Sai Pullabhotla
<[email protected]> wrote:
> Can some one tell me why the LocalizedFtpReply is a subclass of
> DefaultFtpReply? All I see in this class is a bunch of static methods
> and a constructor that matches exactly with the one in super class. It
> almost looks to me that this class needs to be a utility class with
> all the static methods and the translate method should simply return
> DefaultFtpReply. What do you think?

It was exactly like that before, but I wanted to prepare for making
the class a bit more rich (like providing both the localized and
english reply) for users (like Ftplets), and therefore turned it into
a real FtpReply implementation.

/niklas

Reply via email to