A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pmd/pmd/issues/2313 below:

[java] Documenation for DoNotUseThreads is outdated · Issue #2313 · pmd/pmd · GitHub

Rule:
DoNotUseThreads

Description:
The documentation in here still shows Runnable as a problematic pattern. However, according to this issue this is no longer the case. Running the tool doesn't flag Runnable either.

--> The example needs to be updated to not show "Runnable" as problematic:

<example> <![CDATA[ // This is not allowed public class UsingThread extends Thread { } // Neither this, public class OtherThread implements Runnable { // Nor this ... public void methode() { Runnable thread = new Thread(); thread.run(); } } ]]> </example>

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4