hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrzej Bialecki ...@getopt.org>
Subject Re: svn commit: r390260 - /lucene/hadoop/trunk/src/java/org/apache/hadoop/mapred/MapReduceBase.java
Date Tue, 04 Apr 2006 17:23:12 GMT
Owen O'Malley wrote:
>
> On Apr 4, 2006, at 3:48 AM, Andrzej Bialecki wrote:
>>
>> Shouldn't this method throw an IOException, as it is declared in 
>> Closeable?
>
> Yes, it should. Thanks for the catch Andrzej.

What is interesting is that javac didn't catch it either... strange. I 
need to read a good book on Java basics, it seems. ;)

It makes sense also to add the throws clause to configure, I think, as 
Darek suggested in another post.

-- 
Best regards,
Andrzej Bialecki     <><
 ___. ___ ___ ___ _ _   __________________________________
[__ || __|__/|__||\/|  Information Retrieval, Semantic Web
___|||__||  \|  ||  |  Embedded Unix, System Integration
http://www.sigram.com  Contact: info at sigram dot com



Mime
View raw message