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

Alex Savitsky reassigned IGNITE-11806:
--------------------------------------

    Assignee: Alex Savitsky

> Wrong import statement listed in Scalar documentation
> -----------------------------------------------------
>
>                 Key: IGNITE-11806
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11806
>             Project: Ignite
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.7
>            Reporter: Alex Savitsky
>            Assignee: Alex Savitsky
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Scalar documentation mentions the imports that need to be made in order to 
> use full scalar syntax:
> {quote}
> h4. Importing
> Scalar needs to be imported in a proper way so that necessary objects and 
> implicit conversions got available in the scope:
> {code:scala}
> import org.apache.ignite.scalar._
> import scalar._
> {code}
> This way you import object {{scalar}} as well as all methods declared or 
> inherited in that object as well.
> {quote}
> The imports are wrong however, I had to look up the examples to figure out 
> the correct ones:
> {code:scala}
> import org.apache.ignite.scalar.scalar
> import org.apache.ignite.scalar.scalar._
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to