Title: Message Title
|
|
Issue Type:
|
Bug
|
Assignee:
|
Unassigned
|
Components:
|
data
|
Created:
|
12/Feb/15 2:32 PM
|
Priority:
|
Major
|
Reporter:
|
Jody Garnett
|
|
ContentDataStore.createTypeNames() was intended to be cached.
This does not appear to be the case for getNames() or getTypeNames:
public final String[] getTypeNames() throws IOException {
List<Name> typeNames = createTypeNames();
String[] names = new String[typeNames.size()];
for (int i = 0; i < typeNames.size(); i++) {
Name typeName = typeNames.get(i);
names[i] = typeName.getLocalPart();
}
return names;
}
Longer story is this value may be expensive to determine and worth caching.
|
|
|
|
|
|
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel