ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Ostanin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-8861) Wrong method call in IgniteServise documentation snippet
Date Fri, 22 Jun 2018 15:16:00 GMT
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)

Mime
View raw message