History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-14203
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Kudravtsev
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Duplicate String literal inspection does not work for JSP(X)

Created: 07 Feb 07 18:09   Updated: 06 Nov 08 23:24
Component/s: Code Analysis. Inspection, J2EE.JSP
Fix Version/s: Undefined

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,692


 Description  « Hide
If one has duplicated String literal in JSP:
...
<%!
	public static final String CONST_ONE = "value";
	public static final String CONST_TWO = "value";
%>
...

or JSPX:

...
<jsp:declaration>
	public static final String CONST_ONE = "value";
	public static final String CONST_TWO = "value";
</jsp:declaration>
...

then inspection Duplicate String literals is not reported.
Though, if the same value is defined also in java class for some constant, then warnings are raised for JSP too.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.