You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-dev@hadoop.apache.org by "Hong Tang (JIRA)" <ji...@apache.org> on 2009/12/23 11:01:29 UTC

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

[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
            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.