About 9,180,000 results
Open links in new tab
  1. How to resolve Unneccessary Stubbing exception - Stack Overflow

    May 29, 2017 · Unnecessary stubbings detected in test class: Test Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate …

  2. java - Unnecessary @SuppressWarnings ("unused") - Stack Overflow

    Mar 2, 2012 · In the code in your question, the @SuppressWarnings("unused") annotation is unnecessary because the method is either overriding another method from a superclass or …

  3. typescript - Why is ESLint complaining about "Unnecessary …

    May 11, 2022 · Why is ESLint complaining about "Unnecessary conditional" when checking if an array value exists? Asked 3 years, 6 months ago Modified 1 year, 3 months ago Viewed 12k …

  4. Getting IDE0079 ("Remove unnecessary suppression") to play well …

    Mar 2, 2024 · But doing so will cause an IDE0079 warning, "Remove unnecessary suppression". Just like ND1212, I don't want to turn off IDE0079 in general either, but I do want to turn it off …

  5. Remove unnecessary usings with dotnet format - Stack Overflow

    Jan 10, 2022 · Remove unnecessary usings with dotnet format Asked 3 years, 10 months ago Modified 3 years, 6 months ago Viewed 8k times

  6. Is there a simple way to remove unused dependencies from a …

    Feb 7, 2020 · 370 I have a large Maven project with many modules and many pom.xml files. The project has changed and I suspect the pom's contain some unnecessary dependencies. Is …

  7. IDE0059 Unnecessary assignment of a value to 'i'

    Nov 15, 2019 · Avoid unnecessary value assignments in your code, as these likely indicate redundant value computations. If the value computation is not redundant and you intend to …

  8. Remove unused namespaces across a whole project or solution at …

    Feb 28, 2018 · 0 visual studio 2017 having inbuild feature to remove unnecessary name space from whole project.

  9. c++ - How to avoid clang-tidy warning when passing ... - Stack …

    Jan 9, 2024 · <source>:10:50: warning: the parameter 'string_ptr' is copied for each invocation but only used as a const reference; consider making it a const reference [performance …

  10. c# - How to turn off graying out unused usings? - Stack Overflow

    Aug 21, 2015 · Open your project references > Analyzers and turn off IDE0005. This will disable the 'visual cue' (grayed out hint) but you will still be able to select the quick action 'Remove …