Skip to content

Commit

Permalink
Merge pull request #1 from ecarm002/master
Browse files Browse the repository at this point in the history
Added a toString statement to help with debugging.
  • Loading branch information
pouriapirz committed Apr 12, 2016
2 parents a677b39 + a460870 commit adf2678
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/java/structure/Query.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,9 @@ public String getName() {
public String getBody() {
return body;
}

public String toString() {
return name + "\n\n" + body;
}

}

0 comments on commit adf2678

Please sign in to comment.