Kill deprecated things (#1311)

This commit is contained in:
Matt
2024-04-27 12:32:36 -04:00
committed by GitHub
parent 010688006a
commit c9a696225d
5 changed files with 0 additions and 531 deletions

View File

@@ -273,19 +273,6 @@ public class PhotonCamera implements AutoCloseable {
ledModeRequest.set(led.value);
}
/**
* Returns whether the latest target result has targets.
*
* <p>This method is deprecated; {@link PhotonPipelineResult#hasTargets()} should be used instead.
*
* @deprecated This method should be replaced with {@link PhotonPipelineResult#hasTargets()}
* @return Whether the latest target result has targets.
*/
@Deprecated
public boolean hasTargets() {
return getLatestResult().hasTargets();
}
/**
* Returns the name of the camera. This will return the same value that was given to the
* constructor as cameraName.