//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
r = __pContainer->ContainsKey(value, hasAppResource);
SysTryReturn(NID_APP, !IsFailed(r), null, r, "[%s] Checking to contain is failed.", GetErrorMessage(r));
- if(hasAppResource == true)
+ if (hasAppResource)
{
return static_cast<AppResource*> (__pContainer->GetValue(value));
}