From 4523ee6583d104d789f58c431d778c38b756cfbe Mon Sep 17 00:00:00 2001 From: teo_sarca Date: Tue, 19 Jun 2007 07:15:05 +0000 Subject: [PATCH] [ 1739516 ] Warning on numeric field with range set http://sourceforge.net/tracker/index.php?func=detail&aid=1739516&group_id=176962&atid=879332 --- client/src/org/compiere/grid/ed/VNumber.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/src/org/compiere/grid/ed/VNumber.java b/client/src/org/compiere/grid/ed/VNumber.java index 101f4908e8..30bf0f391e 100644 --- a/client/src/org/compiere/grid/ed/VNumber.java +++ b/client/src/org/compiere/grid/ed/VNumber.java @@ -34,6 +34,8 @@ import org.compiere.util.*; * * @author Jorg Janke * @version $Id: VNumber.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $ + * + * @author Teo Sarca - BF [ 1739516 ] */ public final class VNumber extends JComponent implements VEditor, ActionListener, KeyListener, FocusListener @@ -543,7 +545,7 @@ public final class VNumber extends JComponent Object oo = getValue(); if (m_rangeSet) { - String error = ""; + String error = null; if (oo instanceof Integer) { Integer ii = (Integer)oo;