[wpilib] Deprecate Resource (#6952)

This commit is contained in:
Gold856
2024-08-12 18:26:11 -04:00
committed by GitHub
parent b057044876
commit 05e955f87e
3 changed files with 9 additions and 1 deletions

View File

@@ -19,7 +19,10 @@ import edu.wpi.first.hal.util.CheckedAllocationException;
* created. Then, when the program actually starts - in the Robot constructor, all resources are
* initialized. This ensures that the program is restartable in memory without having to
* unload/reload.
*
* @deprecated Will be removed with no replacement.
*/
@Deprecated(forRemoval = true, since = "2025")
public final class Resource {
private static Resource resourceList;
private final boolean[] m_numAllocated;