Skip to content
This repository
Browse code

Make text() filter javadoc explicit that it includes CDATA

  • Loading branch information...
commit c5018caa0b7a9d24f0361a301e0ea4b15b558b76 1 parent 74e6464
Rolf rolfl authored

Showing 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  core/src/java/org/jdom2/filter/Filters.java
3  core/src/java/org/jdom2/filter/Filters.java
@@ -243,7 +243,8 @@ private Filters() {
243 243 }
244 244
245 245 /**
246   - * @return a Filter that matches any {@link Text} data.
  246 + * @return a Filter that matches any {@link Text} data (which includes
  247 + * {@link CDATA} since that is a subclass of Text).
247 248 */
248 249 public static final Filter<Text> text() {
249 250 return ftext;

0 comments on commit c5018ca

Please sign in to comment.
Something went wrong with that request. Please try again.