incubator-ftpserver-dev mailing list archives

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

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.

Thanks,
Kwang Yul Seo

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