commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michele Vivoda (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JXPATH-171) No way to test whether a Pointer is null
Date Thu, 27 Nov 2014 16:34:12 GMT

    [ https://issues.apache.org/jira/browse/JXPATH-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14227817#comment-14227817
] 

Michele Vivoda commented on JXPATH-171:
---------------------------------------

Prego ;-) Yes, shall we close this and go on with JXPATH-172 ?

> No way to test whether a Pointer is null
> ----------------------------------------
>
>                 Key: JXPATH-171
>                 URL: https://issues.apache.org/jira/browse/JXPATH-171
>             Project: Commons JXPath
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Michael Osipov
>
> When constructing a pointer, there is no way to test whether the outcome points to a
valid node or is a null pointer. One has to do {{p instanceof NullPointer}}. A method {{isNull}}
would be very helpful.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message