[
https://issues.apache.org/jira/browse/DBUTILS-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gary Gregory resolved DBUTILS-136.
----------------------------------
Resolution: Fixed
Assignee: Gary Gregory
Fix Version/s: 2.0
I added the {{protected}} method
{{org.apache.commons.dbutils.BasicRowProcessor.createCaseInsensitiveHashMap(int)}}.
Please verify and close.
> CaseInsensitiveHashMap cannot be accessed by subclasses of BasicRowProcessor;
> add
> org.apache.commons.dbutils.BasicRowProcessor.createCaseInsensitiveHashMap(int)
> ----------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: DBUTILS-136
> URL: https://issues.apache.org/jira/browse/DBUTILS-136
> Project: Commons DbUtils
> Issue Type: Bug
> Affects Versions: 1.7
> Reporter: Matthew Hall
> Assignee: Gary Gregory
> Labels: easyfix, patch, usability
> Fix For: 2.0
>
>
> This visibility restriction on {{CaseInsensitiveHashMap}} is too strict for
> no good reason:
> {{private static class CaseInsensitiveHashMap extends LinkedHashMap<String,
> Object>}}
> This should be specified as:
> {{protected static class CaseInsensitiveHashMap extends LinkedHashMap<String,
> Object>}}
> Otherwise it's painful to override or re-implement methods such as {{public
> Map<String, Object> toMap(ResultSet rs) throws SQLException}}.
> Patch available at
> https://github.com/megahall/dbutils/tree/megahall/DBUTILS-136 .
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)