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 2016/06/01 12:12:58 UTC
svn commit: r1746442 -
/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIProgress.java
Author: lofwyr
Date: Wed Jun 1 12:12:58 2016
New Revision: 1746442
URL: http://svn.apache.org/viewvc?rev=1746442&view=rev
Log:
TOBAGO-1545: Adapt the tc:progress to Bootstrap
fix Exception by "null" value
Modified:
myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIProgress.java
Modified: myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIProgress.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIProgress.java?rev=1746442&r1=1746441&r2=1746442&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIProgress.java (original)
+++ myfaces/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIProgress.java Wed Jun 1 12:12:58 2016
@@ -64,7 +64,7 @@ public abstract class AbstractUIProgress
} else {
if (model instanceof Number) {
rangeValue = ((Number) model).doubleValue();
- } else {
+ } else if (model != null) {
rangeValue = Double.parseDouble("" + model);
}
if (getMax() != null) {