Isn't the second method supposed to pass progress as the 5th argument? ---------- Forwarded message ---------- From: Rajagopal Natarajan <[EMAIL PROTECTED]> Date: Nov 25, 2007 3:30 PM Subject: DFSClient's create method overloading concern To: hadoop-dev@lucene.apache.org
Hi, There are two create methods in DFSClient, viz, public OutputStream create(String src, boolean overwrite) and public OutputStream create(String src, boolean overwrite, Progressable progress). Both do just the same. The second method just discards the progress parameter. But the comment says that the second method does write-progress reporting. Can someone help me understand how it does write-progress reporting while the first method doesn't, while both methods' bodies are just the same? Regards, Rajagopal N -- N. Rajagopal, Visit me at http://www.raja-gopal.com -- N. Rajagopal, Visit me at http://www.raja-gopal.com