Skip to content

Commit

Permalink
[wpilibj] Suppress this-escape warning on SharpIR (wpilibsuite#6659)
Browse files Browse the repository at this point in the history
  • Loading branch information
KangarooKoala authored and chauser committed May 30, 2024
1 parent f5e85f8 commit b8901ab
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wpilibj/src/main/java/edu/wpi/first/wpilibj/SharpIR.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ public static SharpIR GP2Y0A51SK0F(int channel) {
* @param minCM Minimum distance to report in centimeters
* @param maxCM Maximum distance to report in centimeters
*/
@SuppressWarnings("this-escape")
public SharpIR(int channel, double a, double b, double minCM, double maxCM) {
m_sensor = new AnalogInput(channel);

Expand Down

0 comments on commit b8901ab

Please sign in to comment.