| Priority |
Normal |
| Type | Bug |
| State | Fixed |
| Assignee | Maxim Mossienko |
| Subsystem | No subsystem |
| Affected versions |
No affected versions
|
| Fixed in |
No fix versions
|
| Fixed in build |
Next build |
| Build |
7318
|
| Fixed in build |
7599
|
IDEA-41243 |
InspectionJS: Wrong warning about infinite recursion |
|
infinite.png
(7 KB)
|
function findTrParentNode(node) {
if("TR" == node.tagName) {
return node;
}
if(node == null) {
return null;
}
return findTrParentNode(node.parentNode);
}
if(node == null) { return null; }the first one, but apart from that, I'd say it's pretty common code :)