You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Oleg Ostanin (JIRA)" <ji...@apache.org> on 2018/06/22 15:16:00 UTC

[jira] [Created] (IGNITE-8861) Wrong method call in IgniteServise documentation snippet

Oleg Ostanin created IGNITE-8861:
------------------------------------

             Summary: Wrong method call in IgniteServise documentation snippet
                 Key: IGNITE-8861
                 URL: https://issues.apache.org/jira/browse/IGNITE-8861
             Project: Ignite
          Issue Type: Improvement
          Components: documentation
            Reporter: Oleg Ostanin


[https://apacheignite.readme.io/docs/service-example]

{{ClusterGroup cacheGrp = ignite.cluster().forCache("myCounterService");}}

{{This string does not compile if we use 2.5 version:}}

{{[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile (default-compile) on project poc-tester: Compilation failure}}
{{[ERROR] /home/oostanin/gg-qa/poc-tester/src/main/java/org/apache/ignite/scenario/ServiceTask.java:[53,51] cannot find symbol}}
{{[ERROR]   symbol:   method forCache(java.lang.String)}}
{{[ERROR]   location: interface org.apache.ignite.IgniteCluster}}



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