Skip to content

Graph tree check #6318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update pmd-custom_ruleset.xml
  • Loading branch information
amankumar100 committed Jun 26, 2025
commit 9b35e09b53033d45af875a64d15bc4562efebb9d
23 changes: 14 additions & 9 deletions pmd-custom_ruleset.xml
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
<?xml version="1.0"?>
<ruleset name="TheAlgorithms/Java ruleset"
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
xmlns="http://pmd.sf.net/ruleset/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">

<description>
Custom PMD checks for TheAlgorithms/Java.
Custom PMD checks for TheAlgorithms/Java
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert changes to configuration files and make sure your code passes checks and there are JUnit tests

</description>

<!--
<rule name="UselessMainMethod"
language="java"
message="The main method is redundant in this context"
class="net.sourceforge.pmd.lang.rule.xpath.XPathRule">
<description>
Avoid using a standalone main method unless required.
Avoid using the main method.
</description>
<priority>3</priority>
<properties>
<property name="xpath">
<value><![CDATA[
//MethodDeclaration[@Name='main']
]]></value>
<value>
<![CDATA[
//MethodDeclaration[@Name = "main"]
]]>
</value>
</property>
</properties>
</rule>
-->

</ruleset>
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy