[
https://issues.apache.org/jira/browse/COLLECTIONS-772?focusedWorklogId=514336&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-514336
]
ASF GitHub Bot logged work on COLLECTIONS-772:
----------------------------------------------
Author: ASF GitHub Bot
Created on: 19/Nov/20 21:18
Start Date: 19/Nov/20 21:18
Worklog Time Spent: 10m
Work Description: kinow commented on a change in pull request #195:
URL:
https://github.com/apache/commons-collections/pull/195#discussion_r527205092
##########
File path: src/main/java/org/apache/commons/collections4/IterableUtils.java
##########
@@ -50,6 +50,11 @@
*/
public class IterableUtils {
+ /**
+ * {@code IterableUtils} should not normally be instantiated.
+ */
+ private IterableUtils() {}
+
Review comment:
>Perhaps make the constructor public and mark it as deprecated for
removal in 5.0 with a note that the class is not intended to be instantiated.
This will clarify the intention and ensure the change does happen when 5.0 is
released as all deprecated tags will be addressed on a major version increment.
+1 and will remember us that this can be done by 5.0.
----------------------------------------------------------------
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: 514336)
Time Spent: 1h 50m (was: 1h 40m)
> Provide private constructor to the Utils Collections
> ----------------------------------------------------
>
> Key: COLLECTIONS-772
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-772
> Project: Commons Collections
> Issue Type: Improvement
> Components: Collection
> Affects Versions: 4.4
> Reporter: Arturo Bernal
> Priority: Minor
> Time Spent: 1h 50m
> Remaining Estimate: 0h
>
> Utils classes have their constructor made private to prohibit instantiation.
>
> * IterableUtils
> * ArrayUtils
>
> {color:#ff0000}Keep in mind this improvement will break the binary. We need a
> mayor release{color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)