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

[Ignite 3] Fix Errorprone errors in Metastore-server module

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • 3.0.0-alpha3
    • None
    • Docs Required, Release Notes Required

    Description

      Static analyzer tool Errorprone reports errors for few modules.
      These errors are muted and must be fixed.

      See parent/pom.xml -> Maven compiler plugin configuration -> compiler argument "XepExcludedPaths:"
      

      Let's fix errors and unmute error-prone for Metastorage-server module.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project ignite-metastorage-server: Compilation failure
      [ERROR] ....apache-ignite-3/modules/metastorage-server/src/main/java/org/apache/ignite/internal/metastorage/server/SimpleInMemoryKeyValueStorage.java:[667,40] [ReturnValueIgnored] Return value of 'hasNext' must be used
      [ERROR]     (see https://errorprone.info/bugpattern/ReturnValueIgnored)
      [ERROR]   Did you mean to remove this line?
      

      Attachments

        Issue Links

          Activity

            People

              agura Andrey N. Gura
              amashenkov Andrey Mashenkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: