projects
/
framework
/
web
/
wrt-commons.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7cfa750
)
[Prevent] Delete unreachable code.
author
Jan Olszak
<j.olszak@samsung.com>
Tue, 11 Dec 2012 09:02:26 +0000
(10:02 +0100)
committer
Jan Olszak
<j.olszak@samsung.com>
Tue, 11 Dec 2012 09:02:26 +0000
(10:02 +0100)
[Issue#] Unreachable code. Exception won't be thrown.
[Bug] N/A
[Cause] N/A
[Solution] Deleted unreachable code.
[Verification] Build commons. Run tests.
Change-Id: I8be3436713afcf8af1a8a5906bd428d4f1555081
modules/widget_dao/dao/widget_dao_read_only.cpp
patch
|
blob
|
history
diff --git
a/modules/widget_dao/dao/widget_dao_read_only.cpp
b/modules/widget_dao/dao/widget_dao_read_only.cpp
index
d179281
..
4e4a50c
100644
(file)
--- a/
modules/widget_dao/dao/widget_dao_read_only.cpp
+++ b/
modules/widget_dao/dao/widget_dao_read_only.cpp
@@
-208,9
+208,6
@@
DbWidgetHandle WidgetDAOReadOnly::getHandle(const DPL::String pkgName)
return rowList.front().Get_app_id();
}
SQL_CONNECTION_EXCEPTION_HANDLER_END("Failed in getHandle")
-
- ThrowMsg(WidgetDAOReadOnly::Exception::WidgetNotExist,
- "Failed to get widget by package name");
}
WidgetPkgName WidgetDAOReadOnly::getPkgName() const