Skip to content

Commit

Permalink
(Some javadoc typo fixes)
Browse files Browse the repository at this point in the history
  • Loading branch information
ddekany committed Dec 22, 2023
1 parent 911f8fa commit 9a9cd8f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* usually stored in a static final field of the {@link TemplateCallableModel} implementation class. Said constant
* indexes are also usually defined in the {@link TemplateCallableModel} implementation as static final constants
* (then feed into the {@link ArgumentArrayLayout}). Some {@link TemplateCallableModel} implementations, such as those
* stand for macros and functions defined in the template, decide the layout on runtime instead. None the less, once
* stand for macros and functions defined in the template, decide the layout on runtime instead. Nonetheless, once
* the {@link TemplateCallableModel} was created, the layout is fixed.
* <p>
* The layout of the array is as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import org.apache.freemarker.core.util.CallableUtils;

/**
* Super interface (marker interface) of {@link TemplateFunctionModel} and {@link TemplateDirectiveModel}; don' extended
* Super interface (marker interface) of {@link TemplateFunctionModel}, and {@link TemplateDirectiveModel}; don't extend
* (or implement) it yourself!
* <p>
* You can find utilities for implementing {@link TemplateCallableModel}-s in {@link CallableUtils}.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ void execute(TemplateModel[] args, CallPlace callPlace, Writer out, Environment
/**
* Returns the argument array layout to use when calling the {@code {@link #execute(TemplateModel[], CallPlace,
* Writer, Environment)}} method, or rarely {@code null}. If it's {@code null} then there can only be positional
* arguments, any number of them (though of course the {@code execute} method implementation itself may restricts
* arguments, any number of them (though of course the {@code execute} method implementation itself may restrict
* the acceptable argument count), and the argument array will be simply as long as the number of arguments
* specified at the call place.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public interface TemplateFunctionModel extends TemplateCallableModel {
/**
* Returns the argument array layout to use when calling the {@code {@link #execute(TemplateModel[], CallPlace,
* Environment)}} method, or rarely {@code null}. If it's {@code null} then there can only be positional
* arguments, any number of them (though of course the {@code execute} method implementation itself may restricts
* arguments, any number of them (though of course the {@code execute} method implementation itself may restrict
* the acceptable argument count), and the argument array will be simply as long as the number of arguments
* specified at the call place. This layoutless mode is for example used by {@link JavaMethodModel}-s.
*/
Expand Down

0 comments on commit 9a9cd8f

Please sign in to comment.