You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/12/18 11:11:36 UTC
DO NOT REPLY [Bug 25620] New: -
Uninitialised variable in FTPClient
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=25620>.
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=25620
Uninitialised variable in FTPClient
Summary: Uninitialised variable in FTPClient
Product: Commons
Version: 1.1.0
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Net
AssignedTo: commons-dev@jakarta.apache.org
ReportedBy: ajpaterson@compuserve.com
When NetComponents became commons-net, a new variable __restartOffset was added in FTPClient.java. Although there is a new "setter" method, there is no explicit initialisation of this variable in the constructor. It may be that Java automatically initialises instance variables to zero (I am more familiar with C++ in this regard) but I feel that it would be better to do this explicitly, especially as all of the other variables are explicitly initialised.
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org