maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Olivier Lamy (*$^¨%`£) (JIRA) <j...@apache.org>
Subject [jira] [Assigned] (MCOMPILER-384) Remove null checks in conjunction with instanceof
Date Mon, 20 May 2019 06:34:00 GMT

     [ https://issues.apache.org/jira/browse/MCOMPILER-384?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Olivier Lamy (*$^¨%`£) reassigned MCOMPILER-384:
------------------------------------------------

    Assignee: Olivier Lamy (*$^¨%`£)

> Remove null checks in conjunction with instanceof
> -------------------------------------------------
>
>                 Key: MCOMPILER-384
>                 URL: https://issues.apache.org/jira/browse/MCOMPILER-384
>             Project: Maven Compiler Plugin
>          Issue Type: Improvement
>            Reporter: Russell Howe
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Trivial
>
> There are a few places where we check for nullity prior to checking type with instanceof.
> These null checks are redundant as per the Java language specification https://docs.oracle.com/javase/specs/jls/se11/html/jls-15.html#jls-15.20.2



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message