javacommons/javastorage/javasrc/com/nokia/mj/impl/storage/StorageSessionImpl.java
branchRCL_3
changeset 83 26b2b12093af
parent 71 d5e927d5853b
equal deleted inserted replaced
77:7cee158cb8cd 83:26b2b12093af
   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.toString().equals(""))
   300         if (aUid == null || aUid.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     }