Skip to content

Commit 11a0334

Browse files
committed
Concurrency note
1 parent 6f8291d commit 11a0334

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/org/jsoup/select/Evaluator.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
An Evaluator tests if an element meets the selector's requirements. Obtain an evaluator for a given CSS selector
2626
with {@link QueryParser#parse}. If you are executing the same selector on many elements (or documents), it
2727
can be more efficient to compile and reuse an Evaluator than to reparse the selector on each invocation of select().
28+
<p>Evaluators are thread-safe and may be used concurrently across multiple documents.</p>
2829
*/
2930
public abstract class Evaluator {
3031
protected Evaluator() {

0 commit comments

Comments
 (0)