javacommons/javastorage/javasrc/com/nokia/mj/impl/storage/StorageSessionImpl.java
changeset 69 773449708c84
parent 21 2a9601315dfc
child 66 2455ef1f5bbc
equal deleted inserted replaced
61:bf7ee68962da 69:773449708c84
   295      * @param Uid to be ensured.
   295      * @param Uid to be ensured.
   296      * @throws StorageException if value is null or empty.
   296      * @throws StorageException if value is null or empty.
   297      */
   297      */
   298     private void ensureNonEmpty(Uid aUid) throws StorageException
   298     private void ensureNonEmpty(Uid aUid) throws StorageException
   299     {
   299     {
   300         if (aUid == null || aUid.equals(""))
   300         if (aUid == null || aUid.toString().equals(""))
   301         {
   301         {
   302             Logger.ELOG(Logger.EJavaStorage, "Invalid argument");
   302             Logger.ELOG(Logger.EJavaStorage, "Invalid argument");
   303             throw new StorageException("Invalid argument");
   303             throw new StorageException("Invalid argument");
   304         }
   304         }
   305     }
   305     }