myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From arobinso...@apache.org
Subject svn commit: r1342828 - /myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
Date Fri, 25 May 2012 22:34:00 GMT
Author: arobinson74
Date: Fri May 25 22:34:00 2012
New Revision: 1342828

URL: http://svn.apache.org/viewvc?rev=1342828&view=rev
Log:
Switch to use client ID instead of ID for improved debugging

Modified:
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java?rev=1342828&r1=1342827&r2=1342828&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/UIXCollection.java
Fri May 25 22:34:00 2012
@@ -1851,7 +1851,7 @@ public abstract class UIXCollection exte
    * Ensure that the model has at least rowCount number of rows.
    *
    * @param rowCount the number of rows the model should hold.
-   */  
+   */
   public void ensureRowsAvailable(int rowCount)
   {
     getCollectionModel().ensureRowsAvailable(rowCount);
@@ -2158,10 +2158,13 @@ public abstract class UIXCollection exte
     if (!(change instanceof CollectionComponentChange) ||
         ((CollectionComponentChange)change)._component != this)
     {
-      _LOG.warning("COLLECTION_NOT_IN_CONTEXT", getId());
-      if (_LOG.isFine())
+      if (_LOG.isWarning())
       {
-        Thread.currentThread().dumpStack();
+        _LOG.warning("COLLECTION_NOT_IN_CONTEXT", getClientId());
+        if (_LOG.isFine())
+        {
+          Thread.currentThread().dumpStack();
+        }
       }
     }
   }



Mime
View raw message