Skip to content
Snippets Groups Projects
Commit 0aefcbcd authored by cramakri's avatar cramakri
Browse files

MINOR: Fixed bug in toString()

SVN: 21809
parent f58678ff
No related branches found
No related tags found
No related merge requests found
...@@ -296,9 +296,12 @@ public final class DataSet implements Serializable ...@@ -296,9 +296,12 @@ public final class DataSet implements Serializable
propString.append(props.get(key)); propString.append(props.get(key));
propString.append(", "); propString.append(", ");
} }
// Get rid of the trailing , if (sortedKeys.size() > 0)
propString.deleteCharAt(propString.length() - 1); {
propString.deleteCharAt(propString.length() - 1); // Get rid of the trailing ,
propString.deleteCharAt(propString.length() - 1);
propString.deleteCharAt(propString.length() - 1);
}
propString.append("}"); propString.append("}");
builder.append(propString); builder.append(propString);
if (retrievedConnections.contains(Connections.PARENTS)) if (retrievedConnections.contains(Connections.PARENTS))
......
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