Permalink
Browse files

Make text() filter javadoc explicit that it includes CDATA

  • Loading branch information...
1 parent 74e6464 commit c5018caa0b7a9d24f0361a301e0ea4b15b558b76 @rolfl rolfl committed Feb 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 core/src/java/org/jdom2/filter/Filters.java
@@ -243,7 +243,8 @@ private Filters() {
}
/**
- * @return a Filter that matches any {@link Text} data.
+ * @return a Filter that matches any {@link Text} data (which includes
+ * {@link CDATA} since that is a subclass of Text).
*/
public static final Filter<Text> text() {
return ftext;

0 comments on commit c5018ca

Please sign in to comment.