[
https://issues.apache.org/jira/browse/IGNITE-11806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825430#comment-16825430
]
Dmitriy Pavlov commented on IGNITE-11806:
-----------------------------------------
[~alex_savitsky] I've added your account to the list of contributors, so now
you can assign the issue to yourself.
> 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
> 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)