commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duke Yin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (LANG-1278) BooleanUtils javadoc issues
Date Fri, 21 Oct 2016 15:31:59 GMT

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

Duke Yin updated LANG-1278:
---------------------------
    Description: 
1.  Every instance of {{NOTE: This returns null and will throw a NullPointerException if autoboxed
to a boolean.}} needs to be fixed, for example: https://github.com/apache/commons-lang/blob/LANG_3_5/src/main/java/org/apache/commons/lang3/BooleanUtils.java#L51

{{autoboxed}} -> {{unboxed}}

reference: https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html

2.  https://github.com/apache/commons-lang/blob/LANG_3_5/src/main/java/org/apache/commons/lang3/BooleanUtils.java#L1025

The examples are duplicated: lines 1029~1031 are identical to lines 1026~1028.

  was:
1.  https://github.com/apache/commons-lang/blob/LANG_3_5/src/main/java/org/apache/commons/lang3/BooleanUtils.java#L51

{{autoboxed}} -> {{unboxed}}

reference: https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html

2.  https://github.com/apache/commons-lang/blob/LANG_3_5/src/main/java/org/apache/commons/lang3/BooleanUtils.java#L1025

The examples are duplicated: lines 1029~1031 are identical to lines 1026~1028.


> BooleanUtils javadoc issues
> ---------------------------
>
>                 Key: LANG-1278
>                 URL: https://issues.apache.org/jira/browse/LANG-1278
>             Project: Commons Lang
>          Issue Type: Bug
>    Affects Versions: 3.1, 3.5
>            Reporter: Duke Yin
>            Priority: Trivial
>              Labels: documentation
>
> 1.  Every instance of {{NOTE: This returns null and will throw a NullPointerException
if autoboxed to a boolean.}} needs to be fixed, for example: https://github.com/apache/commons-lang/blob/LANG_3_5/src/main/java/org/apache/commons/lang3/BooleanUtils.java#L51
> {{autoboxed}} -> {{unboxed}}
> reference: https://docs.oracle.com/javase/tutorial/java/data/autoboxing.html
> 2.  https://github.com/apache/commons-lang/blob/LANG_3_5/src/main/java/org/apache/commons/lang3/BooleanUtils.java#L1025
> The examples are duplicated: lines 1029~1031 are identical to lines 1026~1028.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message