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:55:43 UTC
svn commit: r1238916 -
/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java
Author: gcrawford
Date: Wed Feb 1 02:55:43 2012
New Revision: 1238916
URL: http://svn.apache.org/viewvc?rev=1238916&view=rev
Log:
TRINIDAD-2210
thanks to Yuan.
Modified:
myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java
Modified: myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java?rev=1238916&r1=1238915&r2=1238916&view=diff
==============================================================================
--- myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java (original)
+++ myfaces/trinidad/branches/trinidad-1.2.x/trinidad-api/src/main/java/org/apache/myfaces/trinidad/model/CollectionModel.java Wed Feb 1 02:55:43 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.