Skip to content

Commit

Permalink
applied checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Purva-Chaudhari committed Aug 18, 2021
1 parent f107145 commit c2f3f43
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
4 changes: 1 addition & 3 deletions CondCore/Utilities/src/CondDBFetch.cc
Original file line number Diff line number Diff line change
Expand Up @@ -343,9 +343,7 @@ namespace cond {
std::string payloadTypeName;
bool found = session.fetchPayloadData(payloadId, payloadTypeName, data, streamerInfo);
if (!found)
throwException(
"Payload with id " + payloadId + " has not been found in the database.",
"fetch");
throwException("Payload with id " + payloadId + " has not been found in the database.", "fetch");
return fetchOne(payloadTypeName, data, streamerInfo, payloadPtr);
}

Expand Down
13 changes: 13 additions & 0 deletions CondCore/Utilities/src/CondDBFetch.cc.rej
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
--- CondCore/Utilities/src/CondDBFetch.cc
+++ CondCore/Utilities/src/CondDBFetch.cc
@@ -344,9 +344,7 @@
std::string payloadTypeName;
bool found = session.fetchPayloadData(payloadId, payloadTypeName, data, streamerInfo);
if (!found)
- throwException(
- "Payload with id " + payloadId + " has not been found in the database.",
- "fetch");
+ throwException("Payload with id " + payloadId + " has not been found in the database.", "fetch");
return fetchOne(payloadTypeName, data, streamerInfo, payloadPtr);
}

0 comments on commit c2f3f43

Please sign in to comment.