summaryrefslogtreecommitdiff
path: root/odk/examples/java/Storage/TestHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'odk/examples/java/Storage/TestHelper.java')
-rw-r--r--odk/examples/java/Storage/TestHelper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/odk/examples/java/Storage/TestHelper.java b/odk/examples/java/Storage/TestHelper.java
index 9fa2faff086d..3d95f7952203 100644
--- a/odk/examples/java/Storage/TestHelper.java
+++ b/odk/examples/java/Storage/TestHelper.java
@@ -80,7 +80,7 @@ public class TestHelper {
try
{
xPropSet.setPropertyValue( "MediaType", sMediaType );
- xPropSet.setPropertyValue( "Compressed", new Boolean( bCompressed ) );
+ xPropSet.setPropertyValue( "Compressed", Boolean.valueOf( bCompressed ) );
}
catch( Exception e )
{
@@ -208,7 +208,7 @@ public class TestHelper {
// set properties to the stream
try
{
- xPropSet.setPropertyValue( "Encrypted", new Boolean( bEncrypted ) );
+ xPropSet.setPropertyValue( "Encrypted", Boolean.valueOf( bEncrypted ) );
}
catch( Exception e )
{
@@ -711,7 +711,7 @@ public class TestHelper {
{
try
{
- xTempFileProps.setPropertyValue( "RemoveFile", new Boolean( false ) );
+ xTempFileProps.setPropertyValue( "RemoveFile", Boolean.FALSE );
sResult = AnyConverter.toString( xTempFileProps.getPropertyValue( "Uri" ) );
}
catch( Exception e )