mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-28 02:11:43 +00:00
Fix javadoc warnings.
Change-Id: I37049f234c6dfddc138121822525794d74e1b74c
This commit is contained in:
committed by
Fredric Silberberg
parent
fe4535dfa0
commit
6fdd491081
@@ -54,7 +54,7 @@ public abstract class Button extends Trigger {
|
||||
|
||||
/**
|
||||
* Toggles the command whenever the button is pressed (on then off then on)
|
||||
* @param command
|
||||
* @param command the command to start
|
||||
*/
|
||||
public void toggleWhenPressed(final Command command) {
|
||||
toggleWhenActive(command);
|
||||
@@ -62,7 +62,7 @@ public abstract class Button extends Trigger {
|
||||
|
||||
/**
|
||||
* Cancel the command when the button is pressed
|
||||
* @param command
|
||||
* @param command the command to start
|
||||
*/
|
||||
public void cancelWhenPressed(final Command command) {
|
||||
cancelWhenActive(command);
|
||||
|
||||
@@ -149,7 +149,7 @@ public class SmartDashboard {
|
||||
* @param key the key
|
||||
* @param defaultValue the value returned if the key is undefined
|
||||
* @return the value
|
||||
* @throws NoSuchEleNetworkTableKeyNotDefinedmentException if there is no value mapped to by the key
|
||||
* @throws NetworkTableKeyNotDefined if there is no value mapped to by the key
|
||||
* @throws IllegalArgumentException if the value mapped to by the key is not a double
|
||||
* @throws IllegalArgumentException if the key is null
|
||||
*/
|
||||
@@ -241,7 +241,7 @@ public class SmartDashboard {
|
||||
* @param key the key
|
||||
* @param defaultValue the value returned if the key is undefined
|
||||
* @return the value
|
||||
* @throws NetworkTableKeyNotDefined if there is no value mapped to by the key
|
||||
* @throws TableKeyNotDefinedException if there is no value mapped to by the key
|
||||
* @throws IllegalArgumentException if the value mapped to by the key is not an int
|
||||
* @throws IllegalArgumentException if the key is null
|
||||
*/
|
||||
@@ -274,7 +274,7 @@ public class SmartDashboard {
|
||||
* @deprecated Use {@link #getNumber(java.lang.String) getNumber} instead
|
||||
* @param key the key
|
||||
* @return the value
|
||||
* @throws NoSuchEleNetworkTableKeyNotDefinedmentException if there is no value mapped to by the key
|
||||
* @throws TableKeyNotDefinedException if there is no value mapped to by the key
|
||||
* @throws IllegalArgumentException if the value mapped to by the key is not a double
|
||||
* @throws IllegalArgumentException if the key is null
|
||||
*/
|
||||
@@ -289,7 +289,7 @@ public class SmartDashboard {
|
||||
* @param key the key
|
||||
* @param defaultValue the value returned if the key is undefined
|
||||
* @return the value
|
||||
* @throws NoSuchEleNetworkTableKeyNotDefinedmentException if there is no value mapped to by the key
|
||||
* @throws TableKeyNotDefinedException if there is no value mapped to by the key
|
||||
* @throws IllegalArgumentException if the value mapped to by the key is not a double
|
||||
* @throws IllegalArgumentException if the key is null
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user