Service Board > Max for Developers > Appendix E: Deprecated Java APIs
Appendix E: Deprecated Java APIs
The Thread.sleep(long milis) Java API is deprecated as of April 10, 2022.
Migration Guide
Replace Thread.sleep(long millis) with the API from the java.util.concurrent.TimeUnit class.
For example, replace Thread.sleep(10000) with the following:
java.util.concurrent.TimeUnit.MILLISECONDS.sleep(10000);
For assistance with any other calls to this class, contact ServiceMax Customer Support.
For more information:
\
Was this helpful?