You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2021/10/20 21:59:00 UTC
[jira] [Commented] (CSV-291) CSVRecord.values() accessor is
package-private instead of public
[ https://issues.apache.org/jira/browse/CSV-291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17432113#comment-17432113 ]
Gary D. Gregory commented on CSV-291:
-------------------------------------
Incorrect, this method is used within the package.
> CSVRecord.values() accessor is package-private instead of public
> ----------------------------------------------------------------
>
> Key: CSV-291
> URL: https://issues.apache.org/jira/browse/CSV-291
> Project: Commons CSV
> Issue Type: Bug
> Affects Versions: 1.9.0
> Reporter: zart colwing
> Priority: Major
> Labels: easyfix
>
> Of all the methods in the CSVRecord class, the CSVRecord#value() accessor is package private. Because this accessor in never used by any other class in the commons-csv library, it can be concluded that it was not meant to be used only by the library itself. And because the class itself is private it can be concluded that it was not meant to be used only be derived classes. Thus it was certainly meant to provide access to the internal values array to a client or an decorator implementation. Unfortunately since it is package-private it is inaccessible.
> Please make it public.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)