About 9,800,000 results
Open links in new tab
  1. How can I mark a C++ class method as deprecated?

    Feb 19, 2023 · In C++14, you can mark a function as deprecated using the [[deprecated]] attribute (see section 7.6.5 [dcl.attr.deprecated]). The attribute-token deprecated can be used to mark …

  2. The Difference Between Deprecated, Depreciated and Obsolete

    Feb 9, 2012 · There is a lot of confusion about this and I'd like to know, what exactly is the difference between depreciated, deprecated and obsolete, in a programming context, but also …

  3. java - @deprecated vs @Deprecated - Stack Overflow

    Dec 19, 2013 · 138 @Deprecated is an annotation that is read by the compiler, used to mark a method as deprecated to the compiler and will generate a deprecation compile-time warning if …

  4. spring - What is the replacement for the deprecated @MockBeans …

    Dec 2, 2024 · What is the replacement for the deprecated @MockBeans in SpringBoot 3.4.0? Asked 1 year ago Modified 5 months ago Viewed 88k times

  5. How to declare or mark a Java method as deprecated?

    Jan 27, 2012 · Starting with J2SE 5.0, you deprecate a class, method, or field by using the @Deprecated annotation. Additionally, you can use the @deprecated Javadoc tag tell …

  6. Is it wrong to use Deprecated methods or classes in Java?

    The @Deprecated annotation went a step further and warn of danger: A program element annotated @Deprecated is one that programmers are discouraged from using, typically …

  7. Why is withOpacity deprecated in Flutter 3.27.0, and what is its ...

    Dec 16, 2024 · Questions: Why was withOpacity deprecated in Flutter 3.27.0? What is the recommended alternative or best practice to achieve the same functionality? I’d appreciate …

  8. Easily detect deprecated resources on Kubernetes

    Sep 28, 2021 · Searching for each kind of resource with a deprecated api version reveals the use of the deprecated apis. This script is useful as-is, or could be the basis for a better tool that …

  9. Is it possible to mark something as deprecated in typescript?

    Mar 19, 2020 · But if possible, I would like to communicate somehow, that it has been deprecated. While my current issue is only about deprecation in a definitions file, I would also like to use …

  10. decorators in the python standard lib (@deprecated specifically)

    Oct 12, 2020 · It offers the deprecated () decorator to wrap functions, providing proper warnings both in documentation and via Python’s warnings system, as well as the …