Skip to content

Commit 5ff0824

Browse files
chrisivensnik9000
authored andcommitted
Docs: Tiny typo to Painless dispatch justification (#24588)
1 parent 0fe6450 commit 5ff0824

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/modules/scripting/painless.asciidoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ has <<painless-api-reference-Matcher-group-1, `group(int)`>> and
379379
We have a few justifications for this different way of dispatching methods:
380380

381381
1. It makes operating on `def` types simpler and, presumably, faster. Using
382-
receiver, name, and arity means when Painless sees a call on a `def` objects it
382+
receiver, name, and arity means when Painless sees a call on a `def` object it
383383
can dispatch the appropriate method without having to do expensive comparisons
384384
of the types of the parameters. The same is true for invocations with `def`
385385
typed parameters.

0 commit comments

Comments
 (0)