You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by gc...@apache.org on 2012/02/01 03:54:07 UTC

svn commit: r1238914 - /myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java

Author: gcrawford
Date: Wed Feb  1 02:54:07 2012
New Revision: 1238914

URL: http://svn.apache.org/viewvc?rev=1238914&view=rev
Log:
TRINIDAD-2210  

thanks to Yuan.

Modified:
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java?rev=1238914&r1=1238913&r2=1238914&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java (original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java Wed Feb  1 02:54:07 2012
@@ -143,11 +143,9 @@ public abstract class CollectionModel ex
   }
 
   /**
-   * Gets the rowData at the given row key.
-   * This method makes the given row current and calls
-   * {@link #getRowData()}.
-   * Finally, the row that was current before this method was called
-   * is made current again.
+   * Returns the rowData for the given rowKey without changing model currency.  
+   * Implementations may choose to implement this behavior by saving and restoring the currency.
+   *
    * @see CollectionModel#getRowData()
    * @param rowKey the row key of the row to get data from.
    * @return the data for the given row.