About 10,900,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. IDE0005 not reported as build failure even with ...

    Dec 14, 2022 · <PropertyGroup> <TreatWarningsAsErrors>true</TreatWarningsAsErrors> <StyleCopTreatErrorsAsWarnings>false</StyleCopTreatErrorsAsWarnings> …

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

    Feb 7, 2020 · 369 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 …

  5. Keycloak upgrade from 18 to 25: Option: 'start-dev --spi-login …

    Aug 12, 2024 · I am trying to upgrade from Keycloak 18 to 25.0.2, but whenever I run docker-compose up, the keycloak container is stopping with this error: Option: 'start-dev --spi-login …

  6. 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.

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

    Jan 9, 2024 · When I run clang-tidy --checks=performance-unnecessary-value-param for this code, it warns: <source>:10:50: warning: the parameter 'string_ptr' is copied for each …

  8. java - Mockito throws UnnecessaryStubbingException for stub …

    May 21, 2021 · Unnecessary stubbings detected. Clean & maintainable test code requires zero unnecessary code. Following stubbings are unnecessary (click to navigate to relevant line of …

  9. 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 …

  10. java - How to deal with Mockito's ... - Stack Overflow

    Oct 28, 2022 · And if you are fine with unnecessary definitions of mock behavior because some of the arguments of the parameterized test will lead to the mock being called while others won't, …