Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.3.0, 2.1.7, 2.2.2
-
None
-
Reviewed
Description
ErrorProne fails the build using the new Mockito version.
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:testCompile (default-testCompile) on project hbase-server: Compilation failure: Compilation failure: [ERROR] /home/jenkins/jenkins-slave/workspace/HBase_Nightly_master/component/hbase-server/src/test/java/org/apache/hadoop/hbase/master/assignment/MockMasterServices.java:[147,16] error: [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue [ERROR] (see https://errorprone.info/bugpattern/CheckReturnValue) [ERROR] Did you mean to remove this line? [ERROR] /home/jenkins/jenkins-slave/workspace/HBase_Nightly_master/component/hbase-server/src/test/java/org/apache/hadoop/hbase/procedure/TestZKProcedureControllers.java:[331,16] error: [CheckReturnValue] Ignored return value of method that is annotated with @CheckReturnValue [ERROR] (see https://errorprone.info/bugpattern/CheckReturnValue) [ERROR] Did you mean to remove this line? [ERROR] -> [Help 1]
Attachments
Attachments
Issue Links
- links to