You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dave Brosius (JIRA)" <xa...@xml.apache.org> on 2009/12/12 06:00:18 UTC
[jira] Created: (XALANJ-2512) [patch] remove useless guard code
[patch] remove useless guard code
---------------------------------
Key: XALANJ-2512
URL: https://issues.apache.org/jira/browse/XALANJ-2512
Project: XalanJ2
Issue Type: Improvement
Security Level: No security risk; visible to anyone (Ordinary problems in Xalan projects. Anybody can view the issue.)
Components: XPath
Affects Versions: 2.7.1
Reporter: Dave Brosius
Fix For: The Latest Development Code
Attachments: uselesscode.diff
(Minor) Code has guard code that will never fire... patch removes
if (lookbehind.length() == 1)
{
- char c0 = (lookbehind == null) ? '|' : lookbehind.charAt(0);
+ char c0 = lookbehind.charAt(0);
isToken = (c0 == '|') ? false : (c0 == c);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org