Skip to content

Commit c1c8f17

Browse files
committed
Remove TODO comment and filed an issue: #350
1 parent b4e2846 commit c1c8f17

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

lib/rexml/xpath_parser.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,6 @@ def expr( path_stack, nodeset, context=nil )
338338
end
339339

340340
def apply_remaining_predicates(path_stack, value)
341-
# If evaluated value is not a nodeset, treat it as an empty nodeset.
342-
# TODO: Decide whether REXML should raise type error or keep this behavior.
343341
value = [] unless value.is_a?(Array)
344342
path_stack.unshift(:node)
345343
step(path_stack) do

0 commit comments

Comments
 (0)