javacommons/javastorage/javasrc/com/nokia/mj/impl/storage/StorageSessionImpl.java
branchRCL_3
changeset 27 d5e927d5853b
parent 26 2455ef1f5bbc
equal deleted inserted replaced
26:2455ef1f5bbc 27:d5e927d5853b
   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     }