hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Tang (JIRA)" <j...@apache.org>
Subject [jira] Created: (MAPREDUCE-1330) [rumen] LoggedXXX objects should either be completely mutable or immutable
Date Wed, 23 Dec 2009 10:01:29 GMT
[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.


Mime
View raw message