Skip to content

Commit

Permalink
fix JavaDoc errros.
Browse files Browse the repository at this point in the history
  • Loading branch information
vmi committed Dec 29, 2018
1 parent bb77263 commit a72b9ee
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
4 changes: 3 additions & 1 deletion src/main/java/jp/vmi/selenium/selenese/Context.java
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ default boolean isBrowser(String name) {
* Get flow control state.
*
* @param command flow control command.
* @param <T> the class implements FlowControlState.
* @return flow control state.
*/
default <T extends FlowControlState> T getFlowControlState(ICommand command) {
Expand All @@ -131,6 +132,7 @@ default <T extends FlowControlState> T getFlowControlState(ICommand command) {
*
* @param command flow control command.
* @param state flow control state.
* @param <T> the class implements FlowControlState.
*/
default <T extends FlowControlState> void setFlowControlState(ICommand command, T state) {
// no operation.
Expand Down Expand Up @@ -380,7 +382,7 @@ default int getMaxRetries() {
/**
* Set the maximum number of retries allowed for a given test.
*
* @param maxRetries
* @param maxRetries the maximum number of retries allowed for a given test.
*/
default void setMaxRetries(int maxRetries) {
}
Expand Down
1 change: 1 addition & 0 deletions src/main/java/jp/vmi/selenium/selenese/Runner.java
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ protected TakesScreenshot getTakesScreenshot() {
*
* @param file file instance.
* @param entirePage true if take screenshot of entire page.
* @return path of screenshot or null.
* @throws UnsupportedOperationException throw this exception if {@code getTakesScreenshot()} returns null.
* @throws WebDriverException throw this exception if it fails to get the screenshot.
*/
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/jp/vmi/selenium/selenese/command/CommandList.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@ public class CommandList implements Iterable<ICommand> {
private final List<ICommand> commandList = new ArrayList<>();

/**
* Returns <tt>true</tt> if this list contains no elements.
* Returns {@code true} if this list contains no elements.
*
* @return <tt>true</tt> if this list contains no elements
* @return {@code true} if this list contains no elements.
*/
public boolean isEmpty() {
return commandList.isEmpty();
}

/**
* Returns the number of elements in this list. If this list contains
* more than <tt>Integer.MAX_VALUE</tt> elements, returns
* <tt>Integer.MAX_VALUE</tt>.
* more than {@code Integer.MAX_VALUE} elements, returns
* {@code Integer.MAX_VALUE}.
*
* @return the number of elements in this list
* @return the number of elements in this list.
*/
public int size() {
return commandList.size();
Expand Down

0 comments on commit a72b9ee

Please sign in to comment.