litesoft
Diff Revisions
946
vs
947
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/nonpublic/AbstractNumericRequireableAttributeAdapter.java
|
@@ -1,4 +1,4 @@ |
1 |
|
- |
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
|
1 |
+ |
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.GWT.forms.client.nonpublic; |
3 |
3 |
|
|
4 |
4 |
|
import java.io.*; |
|
@@ -24,8 +24,8 @@ |
24 |
24 |
|
super( pComponentHandler, pMD, createFC( pUiDef, pMD ) ); |
25 |
25 |
|
if ( null != (mDecimalPlaces = pMD.getDecimalPlaces()) ) |
26 |
26 |
|
{ |
27 |
|
- |
mDecimalPlaces = Math.min( Math.abs( mDecimalPlaces.intValue() ), 20); |
28 |
|
- |
} |
|
27 |
+ |
mDecimalPlaces = Math.min( Math.abs( mDecimalPlaces.intValue() ), 20); |
|
28 |
+ |
} |
29 |
29 |
|
if ( null == (mFormatControl = pMD.getFormatControl()) ) |
30 |
30 |
|
{ |
31 |
31 |
|
mFormatControl = NumericFormatControl.JUST_DOT; |