Skip to content
Snippets Groups Projects
Commit 311a60da authored by Julian Tusch's avatar Julian Tusch :no_entry_sign:
Browse files

formatting

parent 3f15e1b1
No related branches found
No related tags found
3 merge requests!460Draft: fluxio/dev-skill-timeout,!449Fluxio preliminary release,!446Draft: Fluxio related changes
...@@ -41,7 +41,7 @@ namespace armarx ...@@ -41,7 +41,7 @@ namespace armarx
FluxioParameterNode::FromIce(const manager::dto::FluxioNode& i, FluxioParameterNode::FromIce(const manager::dto::FluxioNode& i,
std::map<std::string, FluxioParameter>& parametersMap) std::map<std::string, FluxioParameter>& parametersMap)
{ {
if (i.parameterId.id == "") if (i.parameterId.id.empty())
{ {
ARMARX_WARNING << "Parameters id is dummy id in ParameterNode with id " << i.nodeId; ARMARX_WARNING << "Parameters id is dummy id in ParameterNode with id " << i.nodeId;
return std::nullopt; return std::nullopt;
......
...@@ -356,7 +356,7 @@ namespace armarx ...@@ -356,7 +356,7 @@ namespace armarx
return new FluxioParameterNode(*n); return new FluxioParameterNode(*n);
} }
ARMARX_WARNING << "ParameterNode with id " << i.nodeId << "could not be converted"; ARMARX_WARNING << "ParameterNode with id " << i.nodeId << " could not be converted";
} }
else if (i.nodeType == "SUBSKILL") else if (i.nodeType == "SUBSKILL")
{ {
...@@ -366,7 +366,7 @@ namespace armarx ...@@ -366,7 +366,7 @@ namespace armarx
{ {
return new FluxioSubSkillNode(*n); return new FluxioSubSkillNode(*n);
} }
ARMARX_WARNING << "SubSkillNode with id " << i.nodeId << "could not be converted"; ARMARX_WARNING << "SubSkillNode with id " << i.nodeId << " could not be converted";
} }
else else
{ {
......
...@@ -40,7 +40,7 @@ namespace armarx ...@@ -40,7 +40,7 @@ namespace armarx
FluxioSubSkillNode::FromIce(const manager::dto::FluxioNode& i, FluxioSubSkillNode::FromIce(const manager::dto::FluxioNode& i,
std::map<std::string, FluxioSkill>& skillsMap) std::map<std::string, FluxioSkill>& skillsMap)
{ {
if (i.skillId.id == "") if (i.skillId.id.empty())
{ {
ARMARX_WARNING << "Skills id is dummy id in SubSkillNode with id " << i.nodeId; ARMARX_WARNING << "Skills id is dummy id in SubSkillNode with id " << i.nodeId;
return std::nullopt; return std::nullopt;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment