On Sat, Jun 12, 2021 at 3:36 PM Gabriel Roldan
wrote:
> Hey Andrea, that looks great.
> Is it complementary with the ExcessiveMethodLength rule or surpasses it?
>
Two different angles, so I'd say complementary, not a replacement.
> This reminded me I had these unpushed branches. Created a jira
Hey Andrea, that looks great.
Is it complementary with the ExcessiveMethodLength rule or surpasses it?
This reminded me I had these unpushed branches. Created a jira ticket and
these pr's:
https://github.com/geotools/geotools/pull/3544
https://github.com/geotools/geotools/pull/3545
https://github
Good points, but I have spent a lot of time figuring out
NullPointerException within Geotools.
Regards,
Roar Brænden
lør. 12. jun. 2021 kl. 13:29 skrev Andrea Aime :
> On Sat, Jun 12, 2021 at 12:31 PM Roar Brænden
> wrote:
>
>> Hi,
>> Looking at that last method, I counted seven «return null».
On Sat, Jun 12, 2021 at 12:31 PM Roar Brænden
wrote:
> Hi,
> Looking at that last method, I counted seven «return null».
> Is there a PMD for replacing «return null» with Optional?
>
I don't know.. but that would be an API break. So it needs the usual cycle
of deprecation,
replacement, removal a
Hi,
Looking at that last method, I counted seven «return null».
Is there a PMD for replacing «return null» with Optional?
Ian, Java has also changed a bit the last 20 years.
Best regards,
Roar Brænden
lør. 12. jun. 2021 kl. 12:02 skrev Ian Turton :
>
>
> On Sat, 12 Jun 2021 at 10:54, Andrea Ai
On Sat, 12 Jun 2021 at 10:54, Andrea Aime
wrote:
> Hi all,
> PMD recently released version 6.35, with a new check borrowed from the
> Sonar family called
> "Cognitive complexity".
>
> In short, it's an improvement over cyclomatic complexity that accounts for
> the difficulty in understanding
> co
Hi all,
PMD recently released version 6.35, with a new check borrowed from the
Sonar family called
"Cognitive complexity".
In short, it's an improvement over cyclomatic complexity that accounts for
the difficulty in understanding
code rather than just counting the decision points in a method.
You