[ 
https://issues.apache.org/jira/browse/JXPATH-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benedikt Ritter resolved JXPATH-172.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.4

{code}
$ svn ci -m "JXPATH-172: Clarify JavaDoc of JXPathContext#getPointer. Thanks to 
Michele Vivoda. This also fixes #4 from github."
Sending        src/changes/changes.xml
Sending        src/main/java/org/apache/commons/jxpath/JXPathContext.java
Adding         
src/test/java/org/apache/commons/jxpath/issues/JXPath172DynamicTest.java
Adding         src/test/java/org/apache/commons/jxpath/issues/JXPath172Test.java
Transmitting file data ....
Committed revision 1716237.
{code}

Thank you!

> Clarify JavaDoc of JXPathContext#getPointer
> -------------------------------------------
>
>                 Key: JXPATH-172
>                 URL: https://issues.apache.org/jira/browse/JXPATH-172
>             Project: Commons JXPath
>          Issue Type: Bug
>    Affects Versions: 1.3
>            Reporter: Michael Osipov
>            Assignee: Michael Osipov
>             Fix For: 1.4
>
>
> {quote}
> Traverses the xpath and returns a Pointer. A Pointer provides easy access to 
> a property. If the xpath matches no properties in the graph, the pointer will 
> be null.
> {quote}
> This is not true because not {{null}} is returned but {{NullPointer}}. This 
> makes a tremendous difference.



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

Reply via email to