maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MCOMPILER-384) Remove null checks in conjunction with instanceof
Date Mon, 20 May 2019 06:44:00 GMT

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

Hudson commented on MCOMPILER-384:
----------------------------------

Build succeeded in Jenkins: Maven TLP » maven-compiler-plugin » master #107

See https://builds.apache.org/job/maven-box/job/maven-compiler-plugin/job/master/107/

> 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
>             Fix For: 3.8.2
>
>
> 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