A RetroSearch Logo

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

Search Query:

Showing content from https://docs.pmd-code.org/latest/pmd_rules_jsp_codestyle.html below:

Code Style | PMD Source Code Analyzer

Rules which enforce a specific coding style.

Table of Contents DuplicateJspImports

Since: PMD 3.7

Priority: Medium (3)

Avoid duplicate import statements inside JSP’s.

This rule is defined by the following Java class: net.sourceforge.pmd.lang.jsp.rule.codestyle.DuplicateJspImportsRule

Example(s):

<%@ page import=\"com.foo.MyClass,com.foo.MyClass\"%><html><body><b><img src=\"<%=Some.get()%>/foo\">xx</img>text</b></body></html>

Use this rule by referencing it:

<rule ref="category/jsp/codestyle.xml/DuplicateJspImports" />

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