You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/09/29 00:17:11 UTC

[Bug 59734] Named range creation & lookup are linear in the number of ranges

https://bz.apache.org/bugzilla/show_bug.cgi?id=59734

--- Comment #5 from Greg Woolsey <gr...@gmail.com> ---
Where is the new dependency tracked for end users?  The change log?  For people
who don't use Maven or Ivy, it make come as a surprise that running their code
suddenly fails with a NoClassDefFound error (it just did for me, running a
local project with a local build of POI as a dependency).  I missed the commit
message, and had to go find this issue.

It doesn't seem that hard to implement using a normal HashMap, where the
desired name is upper or lower-cased between the user call and the map lookup.

It could be a Map<String, Map<String, Name>> construct, where the outer Map is
by sheet name.  Global names would be mapped under the null entry.

Request sheet and table names would be looked up in the internal map by upper
or lower case cannonicalization (null aware for sheets), and no special tuple
or Commons Collections class would be needed.

Was simplicity the only reason for adding the package dependency?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org