Skip to content

Commit

Permalink
fix npe
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinking committed Aug 28, 2011
1 parent 1d46a71 commit 0c4905b
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -84,7 +84,9 @@ private void print(Node node) {
print(" <");
int i=0;
for (ProducedType pt: types) {
print(pt.getProducedTypeName());
if (pt!=null) {
print(pt.getProducedTypeName());
}
if (++i!=types.size()) {
print(", ");
}
Expand Down

0 comments on commit 0c4905b

Please sign in to comment.