From b2c2934d054c2c811e85e3dbb37744bf315b2155 Mon Sep 17 00:00:00 2001 From: Tyler Veness Date: Sun, 29 Sep 2019 16:38:48 -0700 Subject: [PATCH] Fix javadoc warnings about invalid usage of ">" (#1904) The trajectory gen docs use "->". ">" has been replaced with ">". --- .../wpi/first/wpilibj/trajectory/TrajectoryGenerator.java | 6 +++--- .../first/wpilibj/trajectory/TrajectoryParameterizer.java | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/trajectory/TrajectoryGenerator.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/trajectory/TrajectoryGenerator.java index 9e73c14f4c..2ec0fe4b90 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/trajectory/TrajectoryGenerator.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/trajectory/TrajectoryGenerator.java @@ -38,7 +38,7 @@ public final class TrajectoryGenerator { * @param maxVelocityMetersPerSecond The max velocity for the trajectory. * @param maxAccelerationMetersPerSecondSq The max acceleration for the trajectory. * @param reversed Whether the robot should move backwards. Note that the - * robot will still move from a -> b -> ... -> z + * robot will still move from a -> b -> ... -> z * as defined in the waypoints. * @return The trajectory. */ @@ -93,8 +93,8 @@ public final class TrajectoryGenerator { * @param maxVelocityMetersPerSecond The max velocity for the trajectory. * @param maxAccelerationMetersPerSecondSq The max acceleration for the trajectory. * @param reversed Whether the robot should move backwards. Note that the - * robot will still move from a -> b -> ... -> z as - * defined in the waypoints. + * robot will still move from a -> b -> ... -> z + * as defined in the waypoints. * @return The trajectory. */ public static Trajectory generateTrajectory( diff --git a/wpilibj/src/main/java/edu/wpi/first/wpilibj/trajectory/TrajectoryParameterizer.java b/wpilibj/src/main/java/edu/wpi/first/wpilibj/trajectory/TrajectoryParameterizer.java index d7b0ceead7..9459dd0cd0 100644 --- a/wpilibj/src/main/java/edu/wpi/first/wpilibj/trajectory/TrajectoryParameterizer.java +++ b/wpilibj/src/main/java/edu/wpi/first/wpilibj/trajectory/TrajectoryParameterizer.java @@ -64,7 +64,8 @@ public final class TrajectoryParameterizer { * @param maxAccelerationMetersPerSecondSq The max acceleration for the trajectory. * @param reversed Whether the robot should move backwards. * Note that the robot will still move from - * a -> b -> ... -> z as defined in the waypoints. + * a -> b -> ... -> z as defined in the + * waypoints. * @return The trajectory. */ @SuppressWarnings({"PMD.ExcessiveMethodLength", "PMD.CyclomaticComplexity",