[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-unsubscr...@xml.apache.org For additional commands, e-mail: xalan-dev-h...@xml.apache.org