All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.web.rules.Web.LibraryDependencyCheck.html Maven / Gradle / Ivy

There is a newer version: 2.6.0.1053
Show newest version

This rule raises an issue when a configured Java package or class is used in a JSP file.

Noncompliant Code Example

Given a disallowed list of java.sql,ArrayList:

<%@ page import="java.sql.*" %>     <!-- Noncompliant -->
<% java.util.ArrayList clients; %>  <!-- Noncompliant -->
<% java.lang.String name; %>        <!-- Compliant -->




© 2015 - 2024 Weber Informatics LLC | Privacy Policy