Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-8861

Wrong method call in IgniteServise documentation snippet

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • documentation
    • None

    Description

      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

      Attachments

        Activity

          People

            shroman Roman Shtykh
            oleg-ostanin Oleg Ostanin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: