incubator-ftpserver-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KwangYul Seo <>
Subject A small bug
Date Thu, 17 Nov 2005 03:11:53 GMT

While I read the source code, I found a little bug in FtpletEnum class.

public boolean equals(Object obj) {
if(obj instanceof Ftplet) {
return m_type == ((FtpletEnum)obj).m_type;
return false;

If obj is instanceof Ftplet, it can't be casted to FtpletEnum because they
are different interfaces. I think this is a mistake.

Kwang Yul Seo

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message