You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Amar Kamat (JIRA)" <ji...@apache.org> on 2010/07/02 09:16:15 UTC

[jira] Updated: (MAPREDUCE-1330) [rumen] LoggedXXX objects should either be completely mutable or immutable

     [ https://issues.apache.org/jira/browse/MAPREDUCE-1330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amar Kamat updated MAPREDUCE-1330:
----------------------------------

    Component/s: tools/rumen

> [rumen] LoggedXXX objects should either be completely mutable or immutable
> --------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-1330
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-1330
>             Project: Hadoop Map/Reduce
>          Issue Type: Improvement
>          Components: tools/rumen
>            Reporter: Hong Tang
>
> The current APIs of LoggedXXX objects in rumen do not allow the objects to be modified through setters (package private), but opens the door to modify the object by allowing callers to mutate the list<T> objects returned from the getters. This is confusing and based on the nature of such objects, it is probably a good idea to make the immutable.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.