diff options
Diffstat (limited to 'odk')
-rw-r--r-- | odk/examples/java/Storage/Test01.java | 2 | ||||
-rw-r--r-- | odk/examples/java/Storage/Test04.java | 2 | ||||
-rw-r--r-- | odk/examples/java/Storage/Test05.java | 2 | ||||
-rw-r--r-- | odk/examples/java/Storage/Test07.java | 2 | ||||
-rw-r--r-- | odk/examples/java/Storage/Test08.java | 2 | ||||
-rw-r--r-- | odk/examples/java/Storage/Test09.java | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/odk/examples/java/Storage/Test01.java b/odk/examples/java/Storage/Test01.java index b2e94b36ac44..ed2d1e9546aa 100644 --- a/odk/examples/java/Storage/Test01.java +++ b/odk/examples/java/Storage/Test01.java @@ -40,7 +40,7 @@ public class Test01 implements StorageTest { try { String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); - if ( sTempFileURL == null || sTempFileURL == "" ) + if ( sTempFileURL == null || sTempFileURL.equals("") ) { m_aTestHelper.Error( "No valid temporary file was created!" ); return false; diff --git a/odk/examples/java/Storage/Test04.java b/odk/examples/java/Storage/Test04.java index 79a55dcb25a4..2390a9140992 100644 --- a/odk/examples/java/Storage/Test04.java +++ b/odk/examples/java/Storage/Test04.java @@ -41,7 +41,7 @@ public class Test04 implements StorageTest { try { String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); - if ( sTempFileURL == null || sTempFileURL == "" ) + if ( sTempFileURL == null || sTempFileURL.equals("") ) { m_aTestHelper.Error( "No valid temporary file was created!" ); return false; diff --git a/odk/examples/java/Storage/Test05.java b/odk/examples/java/Storage/Test05.java index b0c84ae11b9f..571251bb276d 100644 --- a/odk/examples/java/Storage/Test05.java +++ b/odk/examples/java/Storage/Test05.java @@ -42,7 +42,7 @@ public class Test05 implements StorageTest { try { String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); - if ( sTempFileURL == null || sTempFileURL == "" ) + if ( sTempFileURL == null || sTempFileURL.equals("") ) { m_aTestHelper.Error( "No valid temporary file was created!" ); return false; diff --git a/odk/examples/java/Storage/Test07.java b/odk/examples/java/Storage/Test07.java index 7ae850fab32c..c89268817a21 100644 --- a/odk/examples/java/Storage/Test07.java +++ b/odk/examples/java/Storage/Test07.java @@ -40,7 +40,7 @@ public class Test07 implements StorageTest { try { String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); - if ( sTempFileURL == null || sTempFileURL == "" ) + if ( sTempFileURL == null || sTempFileURL.equals("") ) { m_aTestHelper.Error( "No valid temporary file was created!" ); return false; diff --git a/odk/examples/java/Storage/Test08.java b/odk/examples/java/Storage/Test08.java index adc911ccb95f..43e9423781e2 100644 --- a/odk/examples/java/Storage/Test08.java +++ b/odk/examples/java/Storage/Test08.java @@ -119,7 +119,7 @@ public class Test08 implements StorageTest { // create temporary file String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); - if ( sTempFileURL == null || sTempFileURL == "" ) + if ( sTempFileURL == null || sTempFileURL.equals("") ) { m_aTestHelper.Error( "No valid temporary file was created!" ); return false; diff --git a/odk/examples/java/Storage/Test09.java b/odk/examples/java/Storage/Test09.java index 171ce6f25627..5e59562c6eb0 100644 --- a/odk/examples/java/Storage/Test09.java +++ b/odk/examples/java/Storage/Test09.java @@ -61,7 +61,7 @@ public class Test09 implements StorageTest { // create temporary file String sTempFileURL = m_aTestHelper.CreateTempFile( m_xMSF ); - if ( sTempFileURL == null || sTempFileURL == "" ) + if ( sTempFileURL == null || sTempFileURL.equals( "" ) ) { m_aTestHelper.Error( "No valid temporary file was created!" ); return false; |