mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-23 01:21:42 +00:00
[wpilibj] Fix @deprecated warning for SerialPort constructor (#3329)
The javadoc @deprecated tag didn't have corresponding @Deprecated attribute.
This commit is contained in:
@@ -95,6 +95,7 @@ public class SerialPort implements AutoCloseable {
|
||||
* @param stopBits The number of stop bits to use as defined by the enum StopBits.
|
||||
* @deprecated Will be removed for 2019
|
||||
*/
|
||||
@Deprecated
|
||||
public SerialPort(
|
||||
final int baudRate,
|
||||
String portName,
|
||||
|
||||
Reference in New Issue
Block a user