[ 
https://issues.apache.org/jira/browse/THRIFT-5631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17606350#comment-17606350
 ] 

Jens Geyer commented on THRIFT-5631:
------------------------------------

This actually prevents me from uploading the package to maven

> Execution failed for task ':generateBeanJava'.
> ----------------------------------------------
>
>                 Key: THRIFT-5631
>                 URL: https://issues.apache.org/jira/browse/THRIFT-5631
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>    Affects Versions: 0.17.0
>         Environment: 
> ------------------------------------------------------------
> Gradle 7.4.2
> ------------------------------------------------------------
> Build time:   2022-03-31 15:25:29 UTC
> Revision:     540473b8118064efcc264694cbcaa4b677f61041
> Kotlin:       1.5.31
> Groovy:       3.0.9
> Ant:          Apache Ant(TM) version 1.10.11 compiled on July 10 2021
> JVM:          11.0.15 (Private Build 11.0.15+10-Ubuntu-0ubuntu0.18.04.1)
> OS:           Linux 5.10.104-linuxkit amd64
>            Reporter: Jens Geyer
>            Priority: Major
>
> PMD report
> Problems found
> #     File    Line    Problem
> 1     
> /thrift/src/lib/java/src/main/java/org/apache/thrift/TNonblockingMultiFetchClient.java
>   284     These nested if statements could be combined
> 2     
> /thrift/src/lib/java/src/main/java/org/apache/thrift/server/AbstractNonblockingServer.java
>       194     These nested if statements could be combined
> 3     
> /thrift/src/lib/java/src/main/java/org/apache/thrift/transport/TFileTransport.java
>       451     These nested if statements could be combined



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to