summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/DevelopersGuide/Forms/SingleControlValidation.java')
-rw-r--r--odk/examples/DevelopersGuide/Forms/SingleControlValidation.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
index f4c2e0fba29f..115d4c381bff 100644
--- a/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
+++ b/odk/examples/DevelopersGuide/Forms/SingleControlValidation.java
@@ -92,7 +92,7 @@ public class SingleControlValidation implements XFormComponentValidityListener
controls[ i ].setPropertyValue( "Tag", String.valueOf( i ) );
if ( controls[ i ].getPropertySetInfo().hasPropertyByName( "Border" ) )
- controls[ i ].setPropertyValue( "Border", new Short( (short)2 ) );
+ controls[ i ].setPropertyValue( "Border", Short.valueOf( (short)2 ) );
XValidatableFormComponent xComp = UnoRuntime.queryInterface( XValidatableFormComponent.class,
controls[ i ] );