uber/piranha

PiranhaJava - Doesn't add required space while removing parentheses

Aperta

#37 aperta il 14 mag 2020

 (6 commenti) (0 reazioni) (0 assegnatari)Java (178 fork)batch import
good first issuelegacy-java

Metriche repository

Star
 (2143 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Piranha changed return(true); to returntrue;. This is sort of related to #35 - in the sense that PiranhaJava doesn't validate the parens/spaces of the output generated.

This error probably would not have occured if the code had been Google Java formatted.

However, I thought I will bring it to your attention, since this is a case of Piranha introducing a "bug" instead of erring on the side of caution, like #35

Guida contributor