Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
d9d2ab4c
Commit
d9d2ab4c
authored
12 years ago
by
Dmitry Jemerov
Browse files
Options
Download
Email Patches
Plain Diff
fix correct but unnecessarily confusing code
parent
3a41d609
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/XsltSupport.java
+1
-2
...th-lang/src/org/intellij/lang/xpath/xslt/XsltSupport.java
with
1 addition
and
2 deletions
+1
-2
plugins/xpath/xpath-lang/src/org/intellij/lang/xpath/xslt/XsltSupport.java
+
1
-
2
View file @
d9d2ab4c
...
...
@@ -116,8 +116,7 @@ public class XsltSupport {
if
(
isXsltAttribute
(
attribute
))
{
final
String
tagName
=
attribute
.
getParent
().
getLocalName
();
final
String
s
=
XPATH_ATTR_MAP
.
get
(
name
);
//noinspection StringEquality
if
(
s
!=
""
&&
!
tagName
.
equals
(
s
))
{
if
((
s
==
null
||
s
.
length
()
>
0
)
&&
!
tagName
.
equals
(
s
))
{
if
(!
isAttributeValueTemplate
(
attribute
,
true
))
{
return
false
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help