Skip to content

Commit

Permalink
Fix invalid java replacements json file (#738)
Browse files Browse the repository at this point in the history
  • Loading branch information
pjreiniger authored Dec 19, 2024
1 parent d248c72 commit b5db172
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vscode-wpilib/resources/java_replacements.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,13 +147,13 @@
{ "from": "MutableMeasure<Velocity<Distance>>", "to": "MutLinearVelocity" },
{ "from": "MutableMeasure<Velocity<Angle>>", "to": "MutAngularVelocity" },
{ "from": "MutableMeasure<Velocity<Velocity<Distance>>>", "to": "MutLinearAcceleration" },
{ "from": "MutableMeasure<Velocity<Velocity<Angle>>>", "to": "MutAngularAcceleration" }
{ "from": "MutableMeasure<Velocity<Velocity<Angle>>>", "to": "MutAngularAcceleration" },
{ "from": "Measure<(\\w*)>", "to": "$1" },
{ "from": "Measure<Velocity<Distance>>", "to": "LinearVelocity" },
{ "from": "Measure<Velocity<Angle>>", "to": "AngularVelocity" },
{ "from": "Measure<Velocity<Velocity<Distance>>>", "to": "LinearAcceleration" },
{ "from": "Measure<Velocity<Velocity<Angle>>>", "to": "AngularAcceleration" },
{ "from": "MutableMeasure.zero\\((\\w*)\\)", "to": "$1.mutable(0)" },
{ "from": "MutableMeasure.zero\\((\\w*)\\)", "to": "$1.mutable(0)" }
]
}
]

0 comments on commit b5db172

Please sign in to comment.