[wpilibj] Fix @deprecated warning for SerialPort constructor (#3329)

The javadoc @deprecated tag didn't have corresponding @Deprecated
attribute.
This commit is contained in:
Tyler Veness
2021-05-01 13:20:53 -07:00
committed by GitHub
parent 4e424d51f4
commit 5ef2b4fdc0

View File

@@ -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,