You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2011/11/24 16:05:29 UTC
svn commit: r1205863 -
/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/IntervalList.java
Author: lofwyr
Date: Thu Nov 24 15:05:28 2011
New Revision: 1205863
URL: http://svn.apache.org/viewvc?rev=1205863&view=rev
Log:
less logging
Modified:
myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/IntervalList.java
Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/IntervalList.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/IntervalList.java?rev=1205863&r1=1205862&r2=1205863&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/IntervalList.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/layout/IntervalList.java Thu Nov 24 15:05:28 2011
@@ -17,9 +17,9 @@ package org.apache.myfaces.tobago.intern
* limitations under the License.
*/
+import org.apache.myfaces.tobago.layout.Measure;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.apache.myfaces.tobago.layout.Measure;
import java.util.ArrayList;
import java.util.List;
@@ -37,8 +37,10 @@ public class IntervalList extends ArrayL
minimum = Measure.max(minimumList);
Measure maximum = Measure.min(maximumList);
if (minimum.greaterThan(maximum)) {
- LOG.warn("Layout: Found a minimum constraint " + minimum
- + " which is greater than a maximum constraint " + maximum + "!");
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("Layout: Found a minimum constraint " + minimum
+ + " which is greater than a maximum constraint " + maximum + "!");
+ }
current = minimum;
} else {
List<Measure> preferred = findPreferredInInterval(minimum, maximum);