[ 1739516 ] Warning on numeric field with range set

http://sourceforge.net/tracker/index.php?func=detail&aid=1739516&group_id=176962&atid=879332
This commit is contained in:
teo_sarca 2007-06-19 07:15:05 +00:00
parent 9f1bf18713
commit 4523ee6583
1 changed files with 3 additions and 1 deletions

View File

@ -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;