diff --git a/libreplan-webapp/src/main/java/org/libreplan/web/common/LenientDecimalBox.java b/libreplan-webapp/src/main/java/org/libreplan/web/common/LenientDecimalBox.java
index 1f9a8e0e9..6b3643dbd 100644
--- a/libreplan-webapp/src/main/java/org/libreplan/web/common/LenientDecimalBox.java
+++ b/libreplan-webapp/src/main/java/org/libreplan/web/common/LenientDecimalBox.java
@@ -19,14 +19,15 @@
package org.libreplan.web.common;
import java.math.BigDecimal;
+import java.text.DecimalFormatSymbols;
+
+import org.zkoss.util.Locales;
import org.zkoss.zk.ui.WrongValueException;
import org.zkoss.zul.Decimalbox;
/**
* Same behavior as a {@link Decimalbox}, but it always interprets . as
* decimal separator, even when the locale uses a different separator.
- * We also reimplement coerceToString to workaround the bug
- * http://tracker.zkoss.org/browse/ZK-629.
*
* @author Óscar González Fernández
* @author Jacobo Aragunde Pérez
@@ -42,8 +43,4 @@ public class LenientDecimalBox extends Decimalbox {
super(value);
}
- protected String coerceToString(Object value) {
- return formatNumber(value, null);
- }
-
}