Skip to content

Commit

Permalink
Merge pull request #1013 from JeffersonLab/1012-fix-the-conditions-op…
Browse files Browse the repository at this point in the history
…tion-command-line-tool-print-function

Fix the cast to String
  • Loading branch information
andrea-celentano authored Sep 26, 2023
2 parents adb4d90 + 52a9c4c commit 94aba94
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ private void printCollection(final ConditionsObjectCollection<?> collection) {
for (final Object object : collection) {
for (final String columnName : collection.getTableMetaData().getFieldNames()) {
if (!"collection_id".equals(columnName)) {
buffer.append((String) ((ConditionsObject) object).getFieldValue(columnName));
buffer.append(((ConditionsObject) object).getFieldValue(columnName).toString());
buffer.append(DELIMITER);
}
}
Expand Down

0 comments on commit 94aba94

Please sign in to comment.