Skip to content

Commit

Permalink
minor
Browse files Browse the repository at this point in the history
  • Loading branch information
anacleto85 committed Aug 20, 2024
1 parent 2ca5596 commit 52f5959
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ public String toString()
// check domain specific metric if any
if (solutionNode.getDomainSpecificMetric() != null) {
description += "\n";
description += "\t\"metric\": " + solutionNode.getDomainSpecificMetric().toString();
description += "\t\"metric\": " + solutionNode.getDomainSpecificMetric().toString() + ",\n";
description += "\n";
}

Expand Down Expand Up @@ -630,7 +630,7 @@ public String toString()
description += "\t],\n\n";

// start description of observations
description += "\tobservations: [\n";
description += "\t\"observations\": [\n";
for (Timeline tl : this.observations) {
description += "\t\t{\n"
+ "\t\t\tname: \"" + tl.getComponent().getName() + "\",\n"
Expand All @@ -647,7 +647,7 @@ public String toString()
description += "\t],\n\n";

// start description of relations
description += "\trelations: [\n";
description += "\t\"relations\": [\n";
for (Relation rel : this.relations) {
description += "\t\t" + rel + ",\n";
}
Expand Down

0 comments on commit 52f5959

Please sign in to comment.