Skip to content

Commit

Permalink
Backport fix for issue #39 - getDocument should return null if there's a
Browse files Browse the repository at this point in the history
problem
  • Loading branch information
rolfl committed Sep 21, 2011
1 parent ca22130 commit 699d46d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/src/java/org/jdom/transform/JDOMResult.java
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ public Document getDocument() {
catch (RuntimeException ex1) {
// Some of the result nodes are not valid children of a
// Document node. => return null.
return null;
}
}
}
Expand Down

0 comments on commit 699d46d

Please sign in to comment.