summaryrefslogtreecommitdiff
path: root/src/components/include/policy/policy_external/policy/policy_manager.h
diff options
context:
space:
mode:
authorTeodora Kireva <tkireva@luxoft.com>2017-02-07 19:02:32 +0200
committerIra Lytvynenko <ILytvynenko@luxoft.com>2017-04-12 19:10:53 +0300
commit9311caa2e9979528817913764931ab410854b411 (patch)
treec29c8aaefecc690f5e670521119b04595a3a9e93 /src/components/include/policy/policy_external/policy/policy_manager.h
parent465a822befaee773db4975e35ddcb2032d51f272 (diff)
downloadsdl_core-9311caa2e9979528817913764931ab410854b411.tar.gz
Fix missing check for empty URLs
Missing check for empty URLs vector is added and some code beautifying.
Diffstat (limited to 'src/components/include/policy/policy_external/policy/policy_manager.h')
-rw-r--r--src/components/include/policy/policy_external/policy/policy_manager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/include/policy/policy_external/policy/policy_manager.h b/src/components/include/policy/policy_external/policy/policy_manager.h
index 5fd25d2461..6928133775 100644
--- a/src/components/include/policy/policy_external/policy/policy_manager.h
+++ b/src/components/include/policy/policy_external/policy/policy_manager.h
@@ -484,7 +484,8 @@ class PolicyManager : public usage_statistics::StatisticsManager {
/**
* @brief Finds the next URL that must be sent on OnSystemRequest retry
* @param urls vector of vectors that contain urls for each application
- * @return Pair of policy application id and application url id
+ * @return Pair of policy application id and application url id from the
+ * urls vector
*/
virtual AppIdURL GetNextUpdateUrl(const EndpointUrls& urls) = 0;
protected: