[
https://issues.apache.org/jira/browse/IO-711?focusedWorklogId=544641&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-544641
]
ASF GitHub Bot logged work on IO-711:
-------------------------------------
Author: ASF GitHub Bot
Created on: 30/Jan/21 03:09
Start Date: 30/Jan/21 03:09
Worklog Time Spent: 10m
Work Description: coveralls commented on pull request #196:
URL: https://github.com/apache/commons-io/pull/196#issuecomment-770146131
[](https://coveralls.io/builds/36715560)
Coverage increased (+0.1%) to 89.121% when pulling
**cb1751782b038c10b4219fa5208cfeccfc627634 on
boris-unckel:utilize_objects_requirenotnull** into
**8665a70d1ea00939d12c7a22ff6c8a8124924acd on apache:master**.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 544641)
Time Spent: 1h 10m (was: 1h)
> Use Objects.requireNotNull for fail fast method/constructors
> ------------------------------------------------------------
>
> Key: IO-711
> URL: https://issues.apache.org/jira/browse/IO-711
> Project: Commons IO
> Issue Type: Improvement
> Components: Filters, Streams/Writers, Utilities
> Affects Versions: 2.8.0
> Reporter: Boris Unckel
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> Currently some NullPointer checks are IllegalArgumentException, at other
> points a lot of constructor and/or method logic happens before a null pointer
> occurs.
> The approach is to make these places use
> Objects.requireNonNull(sampleObject,"sampleObject");
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)