odd equals method of GPathResult

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

odd equals method of GPathResult

tran duc trung
Hi,

The equals method in groovy.util.slurpersupport.GPathResult is :

return text().equals(obj.toString());

Is there any reason for this implementation ?