Skip to content
This repository has been archived by the owner on Oct 23, 2020. It is now read-only.

Commit

Permalink
Merge pull request #6 from creighton/tostr
Browse files Browse the repository at this point in the history
Tostr
  • Loading branch information
creighton committed May 5, 2015
2 parents 31aeebe + 5c243cf commit f49d092
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/gov/adlnet/xapi/model/ActivityDefinition.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,8 @@ public void setSteps(ArrayList<InteractionComponent> steps) {
}

public String toString() {
return name.get("en-US");
if (name != null)
return name.get("en-US");
return "";
}
}

0 comments on commit f49d092

Please sign in to comment.