Skip to content

Commit

Permalink
0.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Till committed Sep 21, 2014
1 parent 3406204 commit 83becb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>andytill</groupId>
<artifactId>erlyberly</artifactId>
<version>0.0.3</version>
<version>0.0.4</version>
<packaging>jar</packaging>

<name>erlyberly</name>
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/erlyberly/TermTreeView.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,15 @@ else if(obj instanceof OtpErlangTuple) {
parent.getChildren().add(new TreeItem("}"));
}
else if(obj instanceof OtpErlangList) {
TreeItem tupleItem;
TreeItem listItem;

tupleItem = new TreeItem("[");
tupleItem.setExpanded(true);
listItem = new TreeItem("[");
listItem.setExpanded(true);

parent.getChildren().add(tupleItem);
parent.getChildren().add(listItem);

for (OtpErlangObject e : ((OtpErlangList) obj).elements()) {
addToTreeItem(tupleItem, e);
addToTreeItem(listItem, e);
}

parent.getChildren().add(new TreeItem("]"));
Expand Down

0 comments on commit 83becb6

Please sign in to comment.