javacommons/javastorage/javasrc/com/nokia/mj/impl/storage/StorageSessionImpl.java
equal
deleted
inserted
replaced
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 } |