You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Pavlov (JIRA)" <ji...@apache.org> on 2019/04/24 18:45:00 UTC
[jira] [Commented] (IGNITE-11806) Wrong import statement listed in
Scalar documentation
[ https://issues.apache.org/jira/browse/IGNITE-11806?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16825429#comment-16825429 ]
Dmitriy Pavlov commented on IGNITE-11806:
-----------------------------------------
[~alex_savitsky] could you please set patch available status for the ticket if you feel that patch is ready to be merged?
> 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)